I had recently written an article on 50 LINQ Examples, Tips and How To's.
Software Developer and geek John Flynn took these examples and did a great job compiling these queries into a format which can be executed using LINQPad.
LINQPad is a FREE tool that can execute any C#/VB/F# expression, statement block or program with rich output formatting. It’s a must have for every .NET developer using LINQ. The Free version does not have autocompletion. Download the Free Version of LINQPad.
Assuming you have installed LINQPad, select the Sample Tab and click on the ‘Download more samples..’ link. Enter the file path to the LINQ Examples zip file that you just downloaded.
That’s it. You can view and execute all these LINQ examples now in LINQPad.
All you have to do is click a query to select it and hit F5. Make sure ‘C# Program’ is selected in the Language dropdown. The results are shown below.
Once again, thanks to John Flynn for compiling my LINQ queries as a download. I am sure like me, other fellow developers will appreciate his efforts and make maximum use of it by downloading this zip file! Feel free to give feedback on the LINQ queries.
Cheers to our dev community!