Version 4.0 of the .NET Framework. Use for questions specifically related to .NET Framework 4.0. For questions on .NET Framework generally, use the .net tag.
Released on April 12th, 2010, version 4.0 (4.0.30319.1) of the Microsoft .NET Framework contains numerous enhancements, new features and bug fixes.
What's New in the .NET Framework 4
Language Improvements
- Dynamic dispatch via the Dynamic Language Runtime (DLR) and types in the
System.Dynamic
namespace - Optional and named parameters in C#
- Implicit line continuations in Visual Basic .NET
- Statement lambdas in Visual Basic .NET
- Covariance and contravariance
Base Class Library (BCL) additions:
BigInteger
andComplex
types- Tuples
- Task Parallel Library (TPL) and the
Tasks
namespace - Managed Extensibility Framework (MEF)
For more information about the new features, see:
- Core Functionality
- WPF
- ASP.NET
- ADO.NET (Entity Framework)
- WCF Data Services