> **Possible Duplicate:**
> [Anyone know a good workaround for the lack of an enum generic constraint?](http://stackoverflow.com/questions/7244/anyone-know-a-good-workaround-for-the-lack-of-an-enum-generic-constraint)
<!-- End of automatically inserted text -->
What is the reason behind C# not allowing type constraints on `Enum`'s? I'm sure there is a method behind the madness, but I'd like to understand why it's not possible.
Below is what I would like to be able to do (in theory).
public static T GetEnum<T>(this string description) where T : Enum
{
...
}