Do you know that Enum types should not be suffixed with the word "Enum"?

Loading last updated info...

This is against the .NET Object Naming Conventions and inconsistent with the framework.

Public Enum ProjectLanguageEnum CSharp VisualBasic End Enum

❌ Figure: Bad example - Enum type is suffixed with the word "Enum"

Public Enum ProjectLanguage CSharp VisualBasic End Enum

✅ Figure: Good example - Enum type is not suffixed with the word "Enum"

We have a program called SSW Code Auditor to check for this rule.

Categories

Authors

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star