I think prefixing any variable in a strongly typed environment simply adds
clutter. I find the convention of capitalizing public members but not
private is much more elegant. Just my opinion.
Mike
"Rakesh Rajan" <Ra*********@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...
Hmm...I have always been in the opinion that whenever we have an exposed
member like a public variable or property etc, we should avoid Hungarian
Notation and prefixes of any type. But for private entities, I would use m_
or a prefix... --
Rakesh Rajan
"Scott Allen" wrote:
I think the guidlines actually discourage use of m_ when it says "Do
not apply a prefix to field names or static field names."
--
Scott
http://www.OdeToCode.com
On Mon, 5 Jul 2004 11:40:41 +0300, "Tamir Khason"
<ta**********@tcon-NOSPAM.co.il> wrote:
This is olb naming convention for private variables. In new MS naming
convention you should use m_ as prefix for private members
More information can be found here
http://msdn.microsoft.com/library/de...-us/cpgenref/h
tml/cpconnamingguidelines.asp
or use FxCop to validate
http://www.gotdotnet.com/team/fxcop/