Lets say you have this enum:
Public Enum ApplicationStatus
<Foo("Active")> Active = 1
<Foo("Inactive")> Inactive = 2
<Foo("Retired")> Retired = 3
<Foo("In Development")> InDevelopment = 4
End Enum
What attribute should I use in place of Foo for plain-text descriptions of the Enum?
I’ve used Description for mine, but only in the cases when the enumeration itself needs to display very differently, otherwise it just displays the String of the Enum Value.
I’ve also use a method for some where it checks the case of each character in the Enum item and if it’s an uppercase character after the 1st, it adds a space before the character.