Why does C# (4.0) not allow co- and contravariance in generic class types?

Posted by Lars Corneliussen on Stack Overflow See other posts from Stack Overflow or by Lars Corneliussen
Published on 2010-03-29T21:40:42Z Indexed on 2010/03/29 21:43 UTC
Read the original article Hit count: 261

Filed under:
|
|
|
|

What is the reason for that limitation.

Sure, one couldn't use fields, because they are allways read-write. But that can't be the answer, can it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about c#4.0