Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object July 2009 Entries
Cicle Enums
People keep asking how to cicle every enum term, so here is a post to explain ;)



foreach (OurEnum item in Enum.GetValues(typeof(OurEnum)))
{
      /* Code */
}

Posted On Wednesday, July 1, 2009 10:00 AM

Copyright © Sglima | Powered by: GeeksWithBlogs.net | Join free