This project has moved and is read-only. For the latest updates, please go here.
The following rules outline the naming guidelines for static fields:
  • Use nouns, noun phrases, or abbreviations of nouns to name static fields.
  • Use Pascal case for public fields.
  • Use Camel case for private fields.
  • Do not use a Hungarian notation prefix on static field names.
  • It is recommended that you use static properties instead of public static fields whenever possible.
  • Use an underscore (_) for the first character in the private field name.

private static String _myPrivateField;
public static String MyPublicField;

Last edited Jul 15, 2010 at 4:32 PM by camalot, version 1