Web
Analytics
LINQ Tutorial | Angular | ASP.NET Tutorials

For Consultation : +91 9887575540

Stay Connected :

LINQ Skip with example

LINQ Skip with example

The Skip query operator will ignore the specified number of input elements from the start of the input sequence and return the remainder. The following code skips over the first three elements and returns the rest:   using System; using System.Collections.Generic;...
LINQ TakeWhile with example

LINQ TakeWhile with example

TakeWhile: This operator is useful when we want to iterate a long list of items. During iteration we can get list of items by using predicate function. Let’s take a example where I will generate numbers using IEnumerable range method and get items as per predicate...
LINQ Partitioning Operators with example

LINQ Partitioning Operators with example

The partitioning query operators take an input sequence and partition it, or “return a chunk” in the output sequence. One use of these operators is to break up a larger sequence into “pages,” for example, paging though ten results at a time in a user interface. 1....
SelectMany query operator in linq

SelectMany query operator in linq

SelectMany query operator produces a variable number of output elements for each input element. In simple words if any collection have collection as an its element then using selectmany we can read that child connection item.  Example using System; using...

Projection Operators in LINQ

Projection Operators in LINQ Input sequenceà Output sequence (Input sequence of elements can be modified using projection operators).We can set output sequence format using projection operator. Select : Using select projection operator , we can project specified value...

Restriction Operator (where) in LINQ

In general queries we take input sequence of items and generated output sequence as per given condition for example we have the list of various department employees and we want to take information only those employess who are belong to IT department . In that...