StringEnum is a base class for creating string-valued enums in .NET.
- Your StringEnum interface looks similar to a regular enum
- Provides static Parse() and TryParse() methods and implicit cast to string.
- Intellisense will suggest the enum name if the class is annotated with the xml...
Did you ever got frustrated about the limitations of Enums? Ever needed an Enum that supports Strings? Or your custom type?
Did you ever wonder why you can't add any instance methods and properties to an Enum?
Do you like to be able to enumerate over all members, ask their names, values and...