As C# enums are just ints with fancy names, why can't I inherit from an enum and add more values to it? like:
enum A { x, y}
enum B : A { w, z}
I'm interested in all sides of this: technical, logical, practical...
As C# enums are just ints with fancy names, why can't I inherit from an enum and add more values to it? like:
enum A { x, y}
enum B : A { w, z}
I'm interested in all sides of this: technical, logical, practical...