Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to override or overload StreamWriter
Message
From
07/02/2007 11:31:35
 
 
To
07/02/2007 08:31:43
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
01192637
Message ID:
01193277
Views:
9
Hi,
>>It's a (according to MS bad) convention that I acquired - using underscore as a suffix to denote 'internal' identifiers.....

>So what is the good way?
The Microsoft way <g>. From http://msdn2.microsoft.com/en-us/library/ms229045.aspx:
"Do not use underscores, hyphens, or any other nonalphanumeric characters."

> I usually use "m_" prefix but have also seen just "m" without underscore.
I see a lot of code using just the underscore prefix (and generally using Camel casing). Again, it looks as if MS only want us to use Camel casing for parameters and Pascal casing for pretty much everything else.

Regards.
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform