What is Covariance and Contravariance
- by xyz
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