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...

1 comments:

Anne Broderick 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.

http://www.amazon.co.uk/Concurrent-Programming-Windows-Architecture-Development/dp/032143482X/ref=sr_1_1?ie=UTF8&s=books&qid=1233593883&sr=1-1

http://www.amazon.co.uk/2008-2005-Threaded-Programming-Beginners/dp/1847197108/ref=pd_rhf_p_t_1

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!