Geeks With Blogs
Fórmulas e Cenas Object Reference Not Set to an Instance of an Object
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 Geral , C# | Back to top


Comments on this post: Cicle Enums

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Sglima | Powered by: GeeksWithBlogs.net