Coding Conventions - Prefix For Class Members (dev102.com)
submitted by
shaharyr(4325) 3 years, 10 months ago
Yes, I will use m_ prefix for class members. I DO NOT NEGOTIATE WITH TERRORISTS. Shut up.
Actually, I don’t mind which prefix shall be used but in order to make member variables distinct from local variables, we have to give it some prefix. This is a part of a coding convention for C++ adopted by Microsoft called Hungarian notation. Some of you may say that it may be a bit disturbing using C++ naming conventions in C# code, but...
|category: Architecture
|Views: 323
tags:
Architecture another
Everyones tags:
Your Tags: