SyntaxFix
Write A Post
Hire A Developer
Questions
This would work too.
List<string> names = Enum.GetNames(typeof(MyEnum)).ToList();