Naming Conventions for .NET / C# Projects
Naming Conventions for .NET / C# Projects Martin Zahn, Akadia AG, 20.03.2003 The original of this document was d eveloped by the Microsoft special interest group . We made some addons. This document explains the naming conventions that should be used with .NET projects. A consistent naming pattern is one of the most important elements of predictability and discoverability in a managed class library. Widespread use and understanding of these naming guidelines should eliminate unclear code and make it easier for developers to understand shared code. Capitalization Styles Defined We define three types of capitalization styles: Pascal case The first letter in the identifier and the first letter of each subsequent concatenated word are capitalized. Example: B ack C olor, D ata S et Camel case The first letter of an identifier is lowercase and the first letter of each subsequent concatenated word is capitalized. Example: n umber O f D ays, i s V alid Uppercase All letters in th...