【发布时间】:2013-03-31 21:20:07
【问题描述】:
我在 .net framework 4.0,visual studio 2010 中创建了一个应用程序,但由于某种原因,我将框架从 4.0 更改为 2.0,但现在我遇到了错误
The type or namespace name 'Linq' does not exist in the namespace 'System' (are you
missing an assembly reference?)
LINQ 在这个项目中被大量使用,现在我想知道有没有办法在 .net 2.0 中使用 LINQ。需要帮助。谢谢。
【问题讨论】:
-
简短的回答是肯定的,如果您包含 DLL。这个问题有一个答案可以向您解释:stackoverflow.com/questions/3348348/…
-
LINQ 是在 .NET 3.5 中引入的
-
我猜 LINQ 是在 .NET 3.5 中引入的,
标签: c# winforms visual-studio-2010 linq