(LINQ) or Language-Integrated Query is the name for a set of technologies based on the integration of query capabilities directly into the C# language.
In this tutorial, we will learn how top perform operations such as
Sorting
Set Operations
Filtering Operation
Quantifier Operations
Projection Operation
Partitioning the data
Joining the objects
Grouping the data
Generation operations
Element Operations
Concatenation of data/objects
Aggregation functions
And Few use cases of LINQ such as finding largest file from a folder, finding specific files and much more.
Different languages have been developed over time to access data from various sources.
For example, to access data from sql server, we have SQL also called as Structured Query Language.
Similarly, to access data from XML, we have something called Xquery.
A query is an expression that retrieves data from a data source.
Different languages have been developed over time to access data from various sources.
For example, to access data from sql server, we have SQL also called as Structured Query Language.
Similarly, to access data from XML, we have something called Xquery.
All LINQ query operations consist of three distinct actions:
1 Obtaining the data from source.
2 Creation the query.
3 Execution the query.