Possible Duplicate:
Enum “Inheritance”
I'm trying to do something like this
enum BaseEnum
{ }
enum SubgEnum1 : BaseEnum
{ }
enum SubEnum2 : BaseEnum
{ }
is it possible to do in any way!?
Because what I really need is to declare a property of type BaseEnum and the values are from SubEnum1 or SubEnum2!
Thanks