Questions tagged [generic-variance]
Generic variance is the ability to assign a generic interface or delegate type to the same type with another parameter, for example, assign IEnumerable<String> to IEnumerable<Object>. Generic variance has to be defined on the generic parameter type that supports them. There are two kinds of generic variance, covariance and contravariance.