The following rules outline the naming guidelines for static fields:
- Use nouns, noun phrases, or abbreviations of nouns to name static fields.
Pascal case for public fields.
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;