CSharp Naming Conventions

The coding style guidelines listed below are primarily a summarization of those outlined by Microsoft in the MSDN Design Guidelines.

As a starting point for more research, visit:
 * http://www.gotdotnet.com/team/libraries/

General
For strongly-typed languages such as C#, Hungarian notation should not be used, since viewing the parameter in an IDE will already show a parameter's name and type.

Classes
Group items of related funcionality together, e.g., place all fields together, all properties together, etc.

Consider using properties on fields instead of just fields alone. This allows greater functionality and control when getting and setting values for the class.

Guidelines

 * Class names
 * PascalCase
 * Nouns or noun phrases


 * Fields
 * camelCase unless declared as public, then PascalCase
 * Nouns or noun phrases
 * If no matching property is created, apply XML comments to describe the field


 * Properties
 * PascalCase
 * Nouns our noun phrases
 * Apply XML comments to describe the property


 * Methods
 * PascalCase
 * Verbs

Guidelines

 * PascalCase
 * Nouns or noun phrases
 * Always prefixed with an I