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

Your email address will not be published. Required fields are marked *

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