How do you enumerate through a Enum?

I am trying to perform an action for each item inside an Enumeration. In other words, I want to be able to use the foreach statement with an enumeration. How do you loop with foreach through an Enum?

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: