Linq with Example in .NET 3.5
What is Linq ?
LINQ stands for Language-Integrated Query is now available as a integral part of Visual Studio.
LINQ has a great power of querying on any source of data, data source could be the collections of objects, database or XML files.We can easily retrieve data from any object that implements the IEnumerable interface.
Microsoft basically divides LINQ into three areas and that are give below.
1.LINQ to Object {Queries performed against the in-memory data}
2.LINQ to ADO.Net
= LINQ to SQL
= LINQ to DataSet
= LINQ to Entities
3.LINQ to XML
Linq Sample - Where
——————–
public void Linqsample()
{
int[] numbers = {1,3,2,5,4,7,6,9,8,0};
var findlow = from n in numbers where n
