What is Covariance and Contravariance

Posted by xyz on Stack Overflow See other posts from Stack Overflow or by xyz
Published on 2010-03-23T03:59:36Z Indexed on 2010/03/23 4:01 UTC
Read the original article Hit count: 334

Filed under:

Please explain me in simple terms (if possible simple example) the covariance and contravariance in c# .net .

I know many are available(even in stackoverflow) but my problem is in which scenario I should use that is not explained in the articles that I am refering to.

e.g.

Covariance and Contravariance in Delegates (C# Programming Guide)

Thanks

© Stack Overflow or respective owner

Related posts about c#4.0