Variable naming standards

  • Thread starter Thread starter BillyTheKid
  • Start date Start date
B

BillyTheKid

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.
 
BillyTheKid said:
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.
 
Back
Top