469,315 Members | 1,589 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

Variable naming standards

I've noticed that there are many who like to prefix variable names with m
(module/member), n (number), s (string), g (global), etc., however this
seems to be unnecessary with C# IMO. Does anyone have any thoughts or
references to articles discussing naming standards.
Nov 15 '05 #1
1 1442
BillyTheKid <nf*@nospam.com> wrote:
I've noticed that there are many who like to prefix variable names with m
(module/member), n (number), s (string), g (global), etc., however this
seems to be unnecessary with C# IMO. Does anyone have any thoughts or
references to articles discussing naming standards.


MS's general .NET naming conventions are available at
http://tinyurl.com/2cun

It doesn't deal with private variables though. Personally I don't see
much point in all these prefixes either.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.