Free Web Development Online Tutorials, Learn to Code
Learn LINQ with C#, Language Integrated query with different Data Source

Query Operators in LINQ

Learn Query Operators in LINQ

What is Query Operator in LINQ ?
There are some query-patterns which define how we should write query on data using LINQ; those patterns are designed with the help of extension methods, those query patterns are known as Query Operators

Based on functionalities LINQ query operators can be categorized into the following ways.

  1. Join Operators
    Join, GroupJoin
  2. Projection Operations
  3. Sorting Operators
    OrderBy, OrderByDescending, ThenBy, ThenByDescending, Reverse
  4. Grouping Operators
    GroupBy, ToLookUp
  5. Filtering Operators
    OfType, Where
  6. Aggregation
    Aggregate, Average, Count, LonCount, Max, Min, Sum
  7. Set Operations
    Distinct, Except, Intersect, Union
  8. Conversions
    AsEnumerable, AsQueryable, Cast, OfType, ToArray, ToDictionary, ToList, ToLookup
  9. Partition Operators
    Skip, SkipWhile, Take, TakeWhile

Now what would you like to learn

Learn LINQ .Net

LINQ Operators C# Examples, All LINQ Operators

linq Interview Questions Answers

LINQ C# examples | Join MVC Course