Friday, September 9, 2016

There is a type in C# that's just generically called Enum and you may generically upcast your custom enums to it.

I suppose all you may do with the parental type is cast it to a string or cast it to an int. I don't know what other angles one might work with it.

No comments:

Post a Comment