Total .NET Analyzer Rule Documentation |
|
Do not use the prefix 'C' for type names.
Remarks
Using a standardized naming convention is an important element in writing code that is easy to read, understand, and maintain. Microsoft recommends not using 'C' (or any prefix) when naming types.
Resolution
Rather than using a prefix for naming classes, you should use a name that describes the type's meaning. For example, you should use MyClass instead of CMyClass.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Class Naming Guidelines