Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

LINQ Source Code Available [closed]

I'm using a .Net 2 project and am missing LINQ.

I cannot use 3rd party tools or try using the System.Core hack to get it to work so I was thinking that if the LINQ source code is available I could just copy the extension methods and create a class in my project.

I mainly need it for Array, List type querying etc

Thanks

like image 465
Jon Avatar asked Feb 15 '11 13:02

Jon


4 Answers

You can use mono's LINQ source code. It is highly compatible with .NET's LINQ.

Update: Even better, original .NET source now is available.

like image 127
Ebrahim Byagowi Avatar answered Oct 24 '22 01:10

Ebrahim Byagowi


The Microsoft implementation of LINQ source is not available for you to use. LINQ will not work with .NET 2.0. You will need at least .NET 3.5.

like image 22
Daniel A. White Avatar answered Oct 24 '22 01:10

Daniel A. White


You might want to try LINQBridge.

like image 2
Bala R Avatar answered Oct 24 '22 00:10

Bala R


LINQ is not merely classes, it is upgraded compiler as well to understand Anonymous classes, methods, lambda expressions etc. You can use LINQ in 2.0 as well. Create seperate project, set framework 3.5. And it will work in 2.0 projects. Only thing u will miss is intellisense in VS 2005.

like image 2
hungryMind Avatar answered Oct 24 '22 00:10

hungryMind