C# Future language features & scenarios
Thursday 22 July 2004
Eric Gunnerson asks for suggestions about what should be added to the version of C# after Whidbey. My only suggestion was for covariant return types. I don't come across the need for this feature every day but every now and then I find cases where they would be useful. It can save some casting, enhance static type checking, and make code clearer.
It turns out that Covariance and Contravariance for Delegates are already supported as of Whidbey (I just verified this works in beta 1).
Posted by
at 07:24 AM.
Permalink.
Copyright © Charles Cook.
Valid XHTML 1.0