I am struggling to get my pea brain around this one.

I want to create a static class which holds an enumeration. Something like :

VB Code:
  1. Static class enumTypes
  2. {
  3.  
  4. public enum choice
  5. {
  6. choice1, choice2
  7. }
  8.  
  9. }
I want to be able to do something like this :

VB Code:
  1. If (myThingy = enumTypes.choice.choice1)
  2. {
  3. //do something
  4. }
  5. else
  6. {
  7. //do something else
  8. }

The exact syntax is troubling me because I am silly.