Reputation: 31104
Is this possible? I can't find it anywhere.
Upvotes: 28
Views: 4103
Reputation: 351526
Try this:
Enum.GetUnderlyingType(typeof(YourEnum))
Upvotes: 49