Enum as Generic Constraint: What's the Reason Microsoft Didn't Want to Implement It?

Posted by Ngu Soon Hui on Stack Overflow See other posts from Stack Overflow or by Ngu Soon Hui
Published on 2010-04-21T06:38:49Z Indexed on 2010/04/21 6:43 UTC
Read the original article Hit count: 167

Filed under:
|

I realize that enum cannot be used as a generic constraint, and Microsoft has declined to fix this bug.

Any reason why?

© Stack Overflow or respective owner

Related posts about c#

Related posts about enum