Looking for good LINQ concepts tutorial
Loading
Looking for good LINQ concepts tutorial
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vishal YelvePosted Sep 27, 2024, 6:30 AM
Hi kerenshor,
you can refer to my articles below
https://www.c-sharpcorner.com/article/linq-methods/
https://www.c-sharpcorner.com/article/misconceptions-about-the-four-linq-methods/
Also, on YouTube, you can refer to Kudvenket
https://www.youtube.com/playlist?list=PL6n9fhu94yhWi8K02Eqxp3Xyh_OmQ0Rp6
https://www.youtube.com/playlist?list=PL6n9fhu94yhX-U0Ruy_4eIG8umikVmBrk
https://www.youtube.com/playlist?list=PL6n9fhu94yhXCHPed2Q9oBkgvzw9Re8hC
Jignesh KumarPosted Sep 27, 2024, 3:39 AM
Hello Keronshor,
Please find below links which will help you,
https://www.c-sharpcorner.com/article/linq-for-beginners/
https://www.c-sharpcorner.com/article/linq-extension-methods/
https://www.c-sharpcorner.com/article/linq-extension-methods-element-and-set-operator-part-thre/
https://www.tutorialsteacher.com/linq
Mariusz PostolPosted Sep 26, 2024, 7:02 PM
I wanna to add: Programming in Practice - LINQ to SQL - Explained at
Let me know in case of questions or doubts you may have.
Adarsh NigamPosted Sep 26, 2024, 3:36 PM
For a good LINQ concepts tutorial, here are some recommended resources and key concepts to explore:
### Online Tutorials:
1. **[Microsoft Docs: LINQ (Language Integrated Query)](https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/)**
A comprehensive guide from Microsoft, covering all aspects of LINQ, including syntax, usage, and examples.
2. **[LINQ Tutorial by TutorialsTeacher](https://www.tutorialsteacher.com/linq)**
This is an easy-to-follow tutorial with examples on how LINQ works. It covers LINQ syntax, methods, and the most common operations like filtering, projection, and aggregation.
3. **[LINQ Samples by DotNetFiddle](https://dotnetfiddle.net/)**
You can practice LINQ queries online with real-time execution and examples to test different LINQ scenarios.
4. **[LINQPad](https://www.linqpad.net/)**
LINQPad is an interactive tool for writing LINQ queries. It’s widely recommended for learning as it allows you to test LINQ queries directly with a rich interface.
### Key Concepts to Focus On:
1. **LINQ Syntax:**
- Query Syntax (`from x in ... select ...`) vs. Method Syntax (`.Where(...).Select(...)`).
2. **LINQ to Objects:**
- Basic operations such as `Select`, `Where`, `GroupBy`, `OrderBy`, `Join`, etc.
3. **Deferred vs Immediate Execution:**
- Understanding when queries are executed, i.e., how `IEnumerable` vs `IQueryable` behaves with LINQ.
4. **LINQ to Entities:**
- How LINQ works with Entity Framework for querying databases using `DbSet`.
5. **Projection and Transformation:**
- Use of `Select`, `SelectMany` to transform data into different shapes.
With these tutorials and concepts, you'll be able to grasp LINQ fundamentals quickly!