Is there a deta开发者_Go百科iled list of changes in .NET 4.0?
Please add any changes you know about.
The Changelog for .NET Framework 4.0 is here.
From beta 1 but a good start here
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 stuffEnvironment.GetFolderPath(SpecialFolderOption)
– Force creation or ignore existenceEnvironment.Is64BitOperatingSystem
&Environment.Is64BitProcess
Environment.SystemPageSize
– Size of the system pagefileSystem.Lazy<T>
– Fully controlled lazy initializationResolveEventArgs.RequestingAssembly
– See which assembly is trying to load a dependency.TimeZoneInfo
and supporting types moved to mscorlibTuple
– Generic tuples with up to 8 membersType.IsEquivalentTo
– Check whether two COM types have the same identityType.IsEnumDefined
– Self-explanatoryVersion.Parse
andVersion.TryParse
Enum.HasFlag
andEnum.TryParse<TEnum>
Guid.Parse
,Guid.ParseExact
,Guid.TryParse
, andGuid.TryParseExact
+
and-
operators forIntPtr
andUIntPtr
Func
andAction
in mscorlib with up to 16 parametersSystem.Collections.Concurrent
namespace
精彩评论