Export (0) Print
Expand All

Enumeration Type Naming Guidelines

.NET Framework 1.1

The enumeration (Enum) value type inherits from the Enum Class. The following rules outline the naming guidelines for enumerations:

  • Use Pascal case for Enum types and value names.
  • Use abbreviations sparingly.
  • Do not use an Enum suffix on Enum type names.
  • Use a singular name for most Enum types, but use a plural name for Enum types that are bit fields.
  • Always add the FlagsAttribute to a bit field Enum type.

See Also

Design Guidelines for Class Library Developers | Value Type Usage Guidelines | Enum Class

Show:
© 2014 Microsoft