Fórmulas e Cenas

Object Reference Not Set to an Instance of an Object

  Home  |   Contact  |   Syndication    |   Login
  45 Posts | 0 Stories | 15 Comments | 0 Trackbacks

News

Archives

Post Categories

Links

July 2009 Entries

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 */
}