Static Field Naming Guidelines

Static Field Naming Guidelines

.NET Framework 1.1

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.
  • 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.

See Also

Design Guidelines for Class Library Developers | Field Usage Guidelines

© 2016 Microsoft