BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

1% of the members rule this place. Be one of them! Login and vote now.
Link 484023 thumbnail
User 721945 avatar

By teebot
via teebot.be
Published: Sep 10 2010 / 04:58

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.
  • 5
  • 0
  • 965
  • 0

Comments

Add your comment
User 226784 avatar

Amr Ellafy replied ago:

0 votes Vote down Vote up Reply

how this made it to the front-page ?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (0)