次の方法で共有


Static Field Naming Guidelines

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