Covariance and Contravariance in c#

Covariance and Contravariance are something new in .net 4.0, and I see some confusion over it amongst developers. Well, sometimes, including me.

This is called FAQ, but I find a good summary and starting point on the topic.

http://blogs.msdn.com/b/csharpfaq/archive/2010/02/16/covariance-and-contravariance-faq.aspx

If you would like a more scientific approach, see this:
http://tomasp.net/blog/variance-explained.aspx/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s