Understanding LINQ query operators

As described in the Queries section, each LINQ operation is divided into three parts. In the first part, we obtain data from a data source. In the second part, we do operations on the data and finally, in the last part, we extract the data.

While doing the second part, that is, performing operations on the data, there are some standard operators that we can use. These operators help us to achieve a consistent experience and a code base that can be easily adapted to different data sources. 

Some of the standard query operators are Select, SelectMany, Join, OrderBy, Average, GroupBy, Max, Min, and Where. In the following sections, let's see some code and learn how some of these operators work.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.225.72.245