## Distinct Operator in Linq

Hi folks, In this tutorial, We are going to understand Distinct Operator in Linq which is comes under the Set operator’s category in LINQ query operators. A distinct operator is used to remove duplicate values from the collection and return the unique values of the collection. What is Distinct Operator in Linq? The distinct operator comes…

## Average method in Linq

Hi friends, In this tutorial, we will see the Average method in Linq. An average is an extension method in System.Linq namespace to compute the average of the numeric values in a collection. An average method in Linq: Average function is used to compute the average of numeric values in a collection. Example1: Calculate the…

## Count operator in Linq

Hello my friends, In this tutorial, we are going to understand Count operator in Linq. Count operator is similar to count() in SQL server which is used to return the number of elements in a collection or the number of elements that have satisfied a given condition. Count operator in Linq: Count operator is used…

## Max operator in Salesforce

Hello friends, In this tutorial, We are going to understand Max operator in Linq. Like SQL Server Linq also have the ability to perform max over the collection. Max Operator in Linq: Max operator is used for returning the largest numeric element from a collection. Example 1: Find the largest element in a collection. using System;…

## Any Operator in Linq

Hello Friends, In this tutorial we are going to understand what is Any Operator in Linq? Any Operator is a Qualifier Operators in Linq Query Operators. It returns a boolean value. It is used to check whether any elements in a sequence satisfy a condition or not. What is Any Operator in Linq? Any Operator is…

## SelectMany: LINQ projection operator

Hello readers, In this tutorial, we are going to understand what is SelectMany Operator in LINQ with the example. SelectMany let you collapse a multidimensional sequence in a way that it would not require a second select() operator or loop. What is SelectMany Operator in LINQ C#: The SelectMany operator comes under the projection operators category…

## Where Clause Filtering Operator in Linq

Hello friends, In this tutorial, you are going to understand what is Where clause Filtering operator in Linq. The Where operator is used to filter a collection based on the given criteria expression and return a new collection. Where Clause Filtering Operator in Linq: The Where operator is used to filter a collection based on…

## Sum() method in Linq

In this tutorial, I am going to explain you about sum() method in LINQ. Like SQL, Linq also provides many aggregate operators to perform aggregation on data. Here we are going to see how we can use sum() method in Linq. Sum() in Linq: sum() method is used to calculate the sum of all integer…

## Introduction to Single,SingleOrDefault,First and FirstOrDefault

In this tutorial, we are going to understand what exactly the use Single, SingleOrDefault, First and FirstOrDefault in Linq and what is the use of these functions. Introduction: Many people get confused when they have come to a situation where they need to use Single, SingleOrDefault, First and FirstOrDefault. In this, we are going to learn…