Re: What is the standard for naming objects?
- From: Jon Skeet [C# MVP] <skeet@xxxxxxxxx>
- Date: Thu, 29 Jun 2006 07:04:05 +0100
GhostInAK <ghostinak@xxxxxxxxx> wrote:
Hello rsine@xxxxxxxxxxxxxxxxxxx,
For those of you wondering where the "m" prefix came from that so many of
you use, it used to originally mean member variable and was typically used
to decorate what we now call private fields (class-level private variables)
in .NET.
The privacy doesn't affect whether or not they're member variables -
they're still called member variables, or instance variables, whether
they're public (let's hope not), protected, whatever.
(I'm not recommending anything other than private fields - don't get me
wrong.)
--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
.
- Follow-Ups:
- Re: What is the standard for naming objects?
- From: GhostInAK
- Re: What is the standard for naming objects?
- From: Cor Ligthert [MVP]
- Re: What is the standard for naming objects?
- References:
- What is the standard for naming objects?
- From: rsine
- Re: What is the standard for naming objects?
- From: GhostInAK
- What is the standard for naming objects?
- Prev by Date: Remote development advice
- Next by Date: Reading email from Outlook
- Previous by thread: Re: What is the standard for naming objects?
- Next by thread: Re: What is the standard for naming objects?
- Index(es):
Relevant Pages
|