1

I made an application in .net framework 4.0, visual studio 2010, but due to some reason i changed the framework from 4.0 to 2.0 but now i am getting error that

The type or namespace name 'Linq' does not exist in the namespace 'System' (are you 
missing an assembly reference?) 

LINQ is very much used in this project, now i want to know that is there any way to use LINQ with .net 2.0.Need help.Thanks.

Mogli
  • 1,972
  • 11
  • 34
  • 67

2 Answers2

9

Linq is not supported in dotnet 2.0

Noone
  • 395
  • 1
  • 4
  • 17
5

You can use LinqBridge, which provides an alternative implementation of the Linq to Objects operators. (note: it works only for Linq to Objects, not for Linq to XML or Linq to XML...)

Thomas Levesque
  • 286,951
  • 70
  • 623
  • 758