Learn LINQ (Language-Integrated Query)
Language-Integrated Query (LINQ) is a powerful set of technologies based on the integration of query capabilities directly into the C# language. LINQ Queries are the first-class language construct in C# .NET, just like classes, methods, events. The LINQ provides a consistent query experience to query objects (LINQ to Objects), relational databases (LINQ to SQL), and XML (LINQ to XML).
Basics
- What is LINQ
- Why LINQ
- LINQ API
- LINQ Query Syntax
- LINQ Method Syntax
- Lambda Expressions in LINQ
- Define Expressions in LINQ
- Expression Tree in LINQ
- Deferred Execution of LINQ Queries
- Immediate Execution of LINQ Queries
- let Keyword
- into Keyword
- Sample C# LINQ Queries
- LINQ Learning Resources
LINQ Test |
LINQ Tests |
LINQ Standard Query Operators
- Standard Query Operators
- Where
- OfType
- OrderBy
- ThenBy
- GroupBy, ToLookup
- Join
- GroupJoin
- Select
- All, Any
- Contains
- Aggregate
- Average
- Count
- Max
- Sum
- ElementAt, ElementAtOrDefault
- First, FirstOrDefault
- Last, LastOrDefault
- Single, SingleOrDefault
- SequenceEqual
- Concat
- DefaultIfEmpty
- Empty, Range, Repeat
- Distinct
- Except
- Intersect
- Union
- Skip, SkipWhile
- Take, TakeWhile
- Conversion Operators