A new Version of C#

22 04 2005 Computers & IT

What do the following lines of code have in common?

int? number = 123;

yield return "Alice";

public partial class MyClass { }

public class Stack{ }

return default(T);

They all are legal in C# 2.0, coming out with the next release of Visual Studio. I've heard pretty much about the Beta 2 that will be released officially on the 25th of April. Unfortunately you have to be a socalled MSDN Subscriber to download this version. But at least the Express-Version beta2 is free to download. Sounds interesting, hm?