Comparison Between. Net Framework 2.0 and 4.0,. net Framework 2.04.0

Source: Internet
Author: User

Comparison Between. Net Framework 2.0 and 4.0,. net Framework 2.04.0

. Net version

2.0 SP2

4.0

Operating System

Windows 2000 SP4 or above

Windows XP SP3 or above

Installation Package Size

NetFx20SP2_x86.exe 23.8 MB
NetFx20SP2_ia64.exe 52.2 MB
NetFx20SP2_x64.exe 46.3 MB

Uniform installation package: 48.1 MB

Default installation

XP: No. NET version is installed by default.
Windows Vista/7:. NET 3.5
Win 8/8. 1/10:. NET 4.0

New Features

 

Garbage Collection
. NET Framework 4 provides background garbage collection. This function replaces concurrent garbage collection in previous versions and improves performance.

   

Dynamic Language Runtime
Dynamic Language Runtime (DLR) is a new runtime environment that adds a set of services suitable for dynamic languages to CLR. With the help of DLR, you can more easily develop dynamic languages to run on. NET Framework, and it is easier to add dynamic functions to static typed languages.

   

BigInteger and plural

   

Memory ing File
. NET Framework now supports memory ing files.

   

Parallel Computing
. NET Framework 4 introduces a new programming model for compiling multi-thread and asynchronous code, which greatly simplifies the work of application and library developers.

     

New Features
(Inherited from 3.0/3.5)

 

Var implicit type [Var is now a keyword]

   

Automatic and implicit types

   

Lambda expressions

   

Extension Method

   

Initiators and anonymous methods

   

Parameter default value and name parameter

   

Built-in generic delegation

   

Standard query operator and LINQ query expression

   

WPF
The new graphic interface system and API of. NET and vector graphics technology make full use of computer 3D graphics card hardware functions and Direct3D technology.
Data Binding is one of its core tasks.

   

Thread processing
Better Reader/writer lock and enhanced ThreadPool Performance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.