Use for class names and methods
//Example: public class ClassName { public void MethodName { //Code Here } }
Use for method arguments and local variables
//Example: int itemVar;
for constants/read only variables
//Example: const string STRINGNAME = "name";
for identifiers, private static variables are the only exception
//Bad Example: public string name_here
//Exception Example: private string _nameHere;
eg. Employee, Location, DocCollection...
This makes them easier to remember
//Example: class Program { static void Main() { //Code Here } }
Reference: http://www.dofactory.com/reference/csharp-coding-standards
There was an error while loading. Please reload this page.