BT

Anders Hejlsberg on the C# 4.0 and 5.0

by Jonathan Allen on Mar 06, 2009 |

In a Channel 9 video, Erik Meijer and Anders Hejlsberg discuss the future of C#. First up was a discussion about dynamic types and co/contra-variant interfaces, both of which are still planned for C# 4.

Extension properties and events were rejected by Anders’ team. The one reason given by Anders was that they would have to also support indexed properties. Though VB and COM both readily support indexed properties, it appears as though the C# hasn’t even seriously considered it. However, the main reason is that they simply don’t know the right way to do it yet.

For C# 5 there are plans for pluggable compilers. One proposed option would be passing in some source code and being returned an expression tree instead of just a compiled assembly.

LINQ will not be undergoing a significant change for this release. LINQ is such a large and complex feature that they want to let it settle for a while before they got back and start making major changes.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

misprint in the title by Alexey Ivanov

Hejlsberg is the right surname of Anders

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT