advanced code snippet search
hoffstein on 12/01/08
7 people have marked this snippet as a favorite
Retrieves an array of strings corresponding to members of the given enum. Useful for looping through them at runtime.
string names = Enum.GetNames(typeof(MyEnumName));
Report this snippet
You need to login to post a comment.