Home
Do you know that Enum types should not be suffixed with the word "Enum"?
  v1.0 Posted at 26/04/2018 9:56 AM by Tiago Araujo
This is against the .NET Object Naming Conventions and inconsistent with the framework.

Public Enum ProjectLanguageEnum CSharp VisualBasic End Enum

Bad - Enum type is suffixed with the word "Enum"

Public Enum ProjectLanguage CSharp VisualBasic End Enum

Good - Enum type is not suffixed with the word "Enum"

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


Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments:

    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.