This discussion is archived
1 Reply Latest reply: Mar 4, 2008 3:16 AM by 807591 RSS

Extending enums during runtime

807591 Newbie
Currently Being Moderated
Hey folks,

i have a question concerning enums. Is it possible to extend enums during runtime? For example i have following enum:
public enum MyValues
{
VALUE1, VALUE2, VALUE3
}
is it possible that i have a method for example which adds VALUE4 and VALUE5 to this enum???

Thanks alot.
Ohno