I\'m trying to create a constant of type Enum but I get a error.. My enum is:
Enum
public enum ActivityStatus { Open = 1, Close = 2 }
If private usage only: You can change ActivityStatus to readonly field and move setting of default value to constructor.
If public usage: You can use property with getter only.
In most of the code analyzers additional namespace will be treated as redundance in your code.