Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Enumeration Type Naming Guidelines

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

© 2015 Microsoft