Net2.0 implements net3.5 features, such as the extension method and Linq, and net2.0net3.5

Source: Internet
Author: User

Net2.0 implements net3.5 features, such as the extension method and Linq, and net2.0net3.5

I haven't touched net for almost two years. Today I want to make a small tool, so I opened VS2012, which has been a long-time violation. Due to the fact that the client is still in the winxp age and net2.0, there are restrictions on the upgrade, therefore, it is necessary to develop it in 2.0. The previous common libraries are written in 3.5. Because of the 3.5 extension and the high speed and convenience of linq, it is quite awkward to write 2.0. I checked it online, I found a simple method and wrote it down:

1. directly add System. Core. dll in net3.5 to the 2.0 Project (reference). Set "specific version" in the attribute to false.

2. using System. Linq;

Happy play ~


Is NET20 the same as NET35?

In short, Framework 3.5 is an upgraded version of 2.0. VS2005 mainly uses 2.0, while VS2008 uses 3.5. The earlier version cannot use the later version, and the later version is not compatible with the earlier version. Microsoft. NET Framework 3.5 updates and supplements many new functions in NET Framework 2.0 and 3.0,. NET Framework 2.0 Service Pack 1 and. NET Framework 3.0 Service Pack 1.
. NET Framework 3.0 has added many new features, such as Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), Windows Presentation Foundation (WPF), and Windows CardSpace ,. NET Framework 3.5 is incrementally built on the basis of these new features. In addition,. NET Framework 3.5 contains a large number of new features in several technical fields that are added as new assemblies to avoid significant changes

How is the difference between ASPNET 20 and ASPNET 35?

Let's take a look at the coverage of 3.5 of the content you bought. If 2.0 of the content is included, you will buy 3.5 of the content. If you only talk about 3.5 of the new features, you have to watch 2.0 and then buy 3.5 of the content.

3.5 to 2.0 extended applications, more concise syntax, and Linq Technology
In terms of operating mechanism, it is not like the qualitative change from 1.0 to 2.0.

Related Article

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.