在.net framework 2.0中使用Linq?

Mog*_*gli 1 c# linq visual-studio-2010 winforms

我在.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?) 
Run Code Online (Sandbox Code Playgroud)

LINQ在这个项目中非常常用,现在我想知道有没有办法使用LINQ和.net 2.0.Need help.Thanks.

JCo*_*eau 9

dotnet 2.0不支持Linq


Tho*_*que 5

您可以使用LinqBridge,它提供了Linq to Objects运算符的替代实现.(注意:它适用于Linq to Objects,不适用于Linq to XML或Linq to XML ......)