[LINQ Tutorial .Net]
LINQ Tutorial is all about LINQ, it explain the basic consepts of LINQ
Major parts of LINQ tutorial are: LINQ Tutorial | LINQ Examples | LINQ to XML Tutorial
LINQ is a uniform programming model for any kind of data access in .Net framework
LINQ is all about
query data!
Using the same syntax you can query:
1) Data inside the memory
2) Database tables
3) XML files
LINQ Basic Example
List<int> grades = new List<int>{55, 81, 99,55}; //Data inside the memory
IEnumerable<int> bestGrades = from g in grades
where g > 80
orderby g ascending
select g;
foreach (int grade in bestGrades)
{
Console.Write(grade + " ");
}
//Output: 81 99
This example looks like SQL,
But it only reminds, LINQ has much more layers you need to discover
LINQ Tutorial is the main online LINQ tutorial,
By learning LINQ you get the advantage of start using Lambda Expression, Declarative programing and Functional programing
Continue to read the LINQ Tutorial and the LINQ Examples Section