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

Updated by Brady Stroud [SSW] 1 year ago. See history

123

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.

acknowledgements
related rules