More Q&A – Why No Generic Attributes?

Question from Wes Haggard:

A while back I posted about having a generic type inherit from Attribute. Do you know why this is prohibited in C#?

My attempted response:

I used to think it wasa a CLI restriction, but now I've scoured the docs and can't find anything like that.  So, you'll have to settle for a big fat "I don't know".

Comments (1)

  1. Nick says:

    Then there is no Q&A but only a Q… 😉

Skip to main content