C# and generics covariance

J

Jon Skeet [C# MVP]

I was wondering if anybody in this newsgroup are following the status of
covariance in C#? As far as I'm concerned, generics covariance is not
supported with C# 3.0 - unfortunately, as I'd be a really nice feature.

It's not in C# 3, and it's only supported on the CLR with respect to
interfaces.

Eric Lippert from the C# team is currently writing a series of blog
articles on it (current situation and possible futures) - it's worth
tracking them:

http://blogs.msdn.com/ericlippert/

Jon
 
A

Anders Borum

Thanks for the link - interesting information on his blog (although I'd
hoped he was further with the "variance" series).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top