DEV Community

Daniel Jonathan
Daniel Jonathan

Posted on • Originally published at biztalkdj.blogspot.com on

Basics of LINQ

In this article, I will walk through the basics concepts in LINQ. Below is simple console application, ;included the reference of Linq.

In the below example, we would write a LINQ query to filter out records based on certain parameter, we would filter on array and student class objects as shown below.

1
Lets filter and sort student class objects,

1

Below example show how to select specific column from the available data-set and perform aggregation based on specify element in the entity.

1

Below example shows the group by feature and filtering records using lamba expression.

1

Here we would perform join operations based on common element in the entities.

1

Top comments (0)