1 Matching Annotations
- Mar 2017
-
msdn.microsoft.com msdn.microsoft.com
-
IEnumerable<Base>.
Covariance: can assign a variable from derived class to base class variable.
Contravariance: can assign a variable from a base class to a derived class variable.
Basic Liskov substitution? Except, contravariance is inversion of Liskov princip
-