Tag Archives: covariance

Covariance and Contravariance in C#4.0

Introduction In this whole artcile we will learn all about Covariance and Contracvariance, what were the issues with development before these two. Definition These two Covariance and Contravariance have been introduced in C#4.0. As per msdn we simply define: “covariance and contravariance enable implicit reference conversion for array types, delegate types, and generic type arguments.

Read More