1
votes
votes
1 answers
How to enumerate an enumeration in c#? I need to loop through the items.
I have an enumeration like this: [code]public enum UserType { Normal = 1, Moderator = 2, Super = 3 }[/code] How can I loop through these items and output the name and value for each enumeration item? I ...
