CodeDom creating an enum

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All I can manage is
public enum myEnumName



The only place where implementation seems to fit in a type declaration is in the Members property
Only problem is that the IsEnum switch seems to make the type declaration ignore any constructor or method members, so where on earth do I put the code? (e.g Null = 0, England = 1, Scotland = 2, Wales = 3, etc)

Jax
 
Back
Top