Jonas Midstrup's Blog

Programming, IT in general and everything in between.

Posts Tagged ‘MSDN

New features in .NET 4.0

leave a comment »

I just found this on MSDN where you can see what’s new in the whole .NET 4.0 framework:
What’s New in the .NET Framework 4

It’s still the RC framework so be patient with it :) As it says above, it’s “subject to change”. But I think it’s as close to the final list as it can be.

One of the cool things that I have forgot I needed in C# that was in C++ is optional parameters in methods. This realy saves time.

Another cool thing is the Enum.TryParse. I have missed that so much as it has been a pain to work with enums. Now I can safely parse enums as I like.

The implementation of String.IsNullOrWhitespace method is also a very cool thing.

Written by jmidstrup

March 17, 2010 at 10:42 pm

Posted in .NET

Tagged with ,

Follow

Get every new post delivered to your Inbox.