- What is the purpose of LINQ?
- Where LINQ can be used?
- How necessary is it to learn the LINQ?
- What is the best way to learn LINQ?
views:
65answers:
4Ans 1 : LINQ is a uniform programming model for any kind of data access. LINQ enables you to query and manipulate data independently of data sources.
Ans 2 :
Ans of 3 question : LINQ: .NET Language-Integrated Query
Ans 4 : use LINQPad to learn linq
check this article : LINQ FAQ for Newbie’s
Language-Integrated Query (LINQ)
is a set of features introduced in Visual Studio 2008
that extends powerful query capabilities to the language syntax of C# and Visual Basic. LINQ
introduces standard, easily-learned patterns for querying and updating data, and the technology can be extended to support potentially any kind of data store. Visual Studio includes LINQ provider assemblies that enable the use of LINQ with .NET Framework collections, SQL Server databases, ADO.NET Datasets, and XML documents.
best way to learn LINQ is do all the examples in MSDN
What is the purpose of LINQ?
A set of class include in .Net
Where LINQ can be used?
Querying sources of data (Database, xml files ...)
- Linq To Sql : Query Databases but in this case i would recommend the Entity Framework.
- Linq To Xml : Query Xml files.
- Linq To Objects : You can Query Collections of objects in Memory
What is the best way to learn LINQ?
Visit the LINQ page on MSDN http://msdn.microsoft.com/en-us/library/bb397926.aspx