Click here to Skip to main content
11,482,039 members (67,181 online)
Click here to Skip to main content
Articles » Languages » C# » Generics » Statistics
Add your own
alternative version

Understanding Covariance and Contravariance in .NET 4.0

, 12 Sep 2011 CPOL 23.1K 16
A covariant type parameter can be used as the return type of a generic delegate/interface, and contravariant type parameters can be used as input parameter types.

Views

Downloads

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

girijaa
Technical Lead Mastek
India India
A Software professional with expertise in developing applications using Microsoft Stack [.Net 2.0/3.0/3.5/4.0] , SQL Server 2005/2008 , Asp.Net [Webforms,MVC] , Entity Framework , WPF , Winforms , Enterprise Library .
Knowledge of Sharepoint [MOSS 2007] and SQL Server BI and still learning ...
Follow on   Twitter

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 12 Sep 2011
Article Copyright 2011 by girijaa
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid