views:

209

answers:

3

Is there a detailed list of changes in .NET 4.0?

Please add any changes you know about.

A: 

Here's what I've found in Beta 2.

If you know of any specific changes, feel free to add them.

mscorlib

  • Microsoft.Win32.RegistryView – Explicit access to 32 or 64 bit registries.
  • System.AggregateException – Thrown by the new parallelism stuff
  • Environment.GetFolderPath(SpecialFolderOption) – Force creation or ignore existence
  • Environment.Is64BitOperatingSystem & Environment.Is64BitProcess
  • Environment.SystemPageSize – Size of the system pagefile
  • System.Lazy<T> – Fully controlled lazy initialization
  • ResolveEventArgs.RequestingAssembly – See which assembly is trying to load a dependency.
  • TimeZoneInfo and supporting types moved to mscorlib
  • Tuple – Generic tuples with up to 8 members
  • Type.IsEquivalentTo – Check whether two COM types have the same identity
  • Type.IsEnumDefined – Self-explanatory
  • Version.Parse and Version.TryParse
  • Enum.HasFlag and Enum.TryParse<TEnum>
  • Guid.Parse, Guid.ParseExact, Guid.TryParse, and Guid.TryParseExact
  • + and - operators for IntPtr and UIntPtr
  • Func and Action in mscorlib with up to 16 parameters
  • System.Collections.Concurrent namespace
SLaks
Why was this downvoted?
SLaks
No idea, but was possibly interpreted as rep gaming? You post a question and answer it too? Best to mark it Community Wiki then I guess. Especially as you want people to keep editing and adding to it as they find changes.
Wim Hollebrandse
I was trying to demonstrate the kind of answer that I'm looking for. I don't have the time to do this for the entire framework, which is why I asked the question.
SLaks
You don't have to defend yourself to me @SLaks, it wasn't me who voted. I'm just suggesting a reason why it *might* have been downvoted. 's All.
Wim Hollebrandse
I've made this answer CW.
SLaks
"I don't have the time to do this for the entire framework..", which makes it even more of a clear collaborative effort you're after, so CW is more appropriate.
Wim Hollebrandse
I upvoted to just to annoy the downvoter
Chris S
+1  A: 

From beta 1 but a good start here

adrianm
+3  A: 

The Changelog for .NET Framework 4.0 is here.

George Stocker