Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nullable enums

Status
Not open for further replies.

kenrevak

Programmer
Mar 13, 2007
9
CA
How do you do a type check for nullable enums?

enum MyEnum? {One, Two};

typeof(MyEnum).IsEnum is false.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top