LINQ Source Available

I am using a .Net 2 project and do not lose LINQ.

I cannot use third-party tools or try to use the hacked System.Core to make it work, so I thought that if the LINQ source code is available, I can just copy the extension methods and create a class in my project.

I basically need it for an array, a list type request, etc.

thanks

+4
source share
5 answers

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

+2
source

You can use the mono LINQ source code . It is very compatible with .NET LINQ.

Update: Better yet, the original .NET source is now available.

+17
source

You might want to try LINQBridge .

+2
source

LINQ is not just classes, but also an updated compiler to understand anonymous classes, methods, lambda expressions, etc. You can also use LINQ in version 2.0. Create a separate project, install the 3.5 framework. And he will work in 2.0 projects. The only thing you miss is intellisense in VS 2005.

+2
source

Old question, but interesting.

Linq source code (part of .Net framework) is now available. Reference source

Also on github is the github-Microsoft NET reference source

0
source

Source: https://habr.com/ru/post/1339821/


All Articles