Linq with Example in .NET 3.5

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

Leave a Reply


All material @ copyrighted by chrisranjana.com. If you want to link to this article you are welcome to do so. Unauthorized publication is strictly prohibited. This developer tutorial website contains articles by Php programmers , Software developers, Mysql programmers and asp c# programmers. This website also contains ajax tutorials and advanced mysql sql stored procedures and functions tutorials and sample codes.