.NET 3.5与.NET 3.0NET

2023-09-06 09:47:36 作者:沒有資格說悲傷i

我想写在WPF程序,但不知道我应该针对.net35或.net30。 .net35的优势是显而易见的。但是,我看到.net30的一个主要优势 - 它的建成在Vista中,因此,使用Windows Vista的人将不必下载和安装框架

I want to write a program in WPF but not sure should I target .net35 or .net30. The advantages of .net35 are obvious. But still, I see one major advantage of .net30 -- it's built into Vista, so, the people using Windows Vista will not have to download and install the framework.

你觉得.net35的利大于弊下载〜200 MEGAS和安装的麻烦?

Do you think the advantages of .net35 outweigh the hassle of downloading ~200 megas and installing in?

P.S。

其实,我并不需要先进的东西像LINQ等等。所以,我想.net30就足够了。还是我缺少什么?

Actually, I don't need advanced stuff like linq, etc. So, I guess .net30 will suffice. Or am I missing anything?

推荐答案

可以,如果你使用3.5编译器使用了一些3.5的特性,如延伸的方法。但是针对3.0是不会伤害你太多,如果200MB的下载是一个严重的问题。

You can use a number of 3.5 features, such as extention methods if you use the 3.5 compiler. But targeting the 3.0 is not going to hurt you much if the 200mb download is a serious concern

 
精彩推荐
图片推荐