C# 4.0! Visual Studio 2010 CTP!

Can't believe I missed this release... There's a lot of exciting new features upcoming in the .NET front. My personal favorites:

  • IDynamicObject and C# 4.0: C# can now has native/syntactic support for dynamic objects that may come from JavaScript, IronRuby, IronPython, COM, etc. Pretty awesome!
  • Optional Parameters: Remember the good ol' days of C++ where you could define optional parameters with default values set for you? Yeah, they're back. I imagine that some changes had to be made to the type system/reflector; I'm curious as to how this works under the hood.

Click here to download the Visual Studio 2010 and .NET Framework 4.0 CTP.

And here's some documentation and code samples for the new features in C# 4.0.

Note: Ugh, the CTP is a Virtual PC instance. Guess I'll have to wait till they have a installable version, or maybe just convert the instance to HyperV...


Anonymous said...

I am tyred of CTPs. I can't wait for Visual Studio 2010 to do my job.
Instead, I am going to recommend two books...
I bought "Concurrent Programming on Windows", Joe Duffy and "C# 2008 and 2005 threaded programming", Gaston Hillar.



I am reading them (I usually read more than one book at a time) and I am taking advantage of multicore right now. It is amazing!