P
Paul E Collins
How can I get the type of an enum given one of its members?
object memb = MyEnum.SomeValue;
Type parent = SOMETHING(memb);
Afterwards, the 'parent' variable should hold typeof(MyEnum).
Eq.
object memb = MyEnum.SomeValue;
Type parent = SOMETHING(memb);
Afterwards, the 'parent' variable should hold typeof(MyEnum).
Eq.