1% of the members rule this place. Be one of them! Login and vote now.
I recently found out it's pretty easy to iterate through enums by first getting the names of the enums and then parsing those back as enum.
Note that this Enum.GetNames method uses reflection internally to read the enum metadata in memory.



Comments
Amr Ellafy replied ago:
how this made it to the front-page ?
Voters For This Link (5)
Voters Against This Link (0)