Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 13, 2022, 3:32 AM EDT
LINQ stands for ‘Language Integrated Query’. As the name suggests, using LINQ, one can directly query data using C# language. The advantage of using LINQ is, that it is data independent. LINQ can be used to query data from SQL databases, XML documents, etc. It can also be used to query in-memory data like lists etc.
LINQ can be used against any data set that implements IEnumerable interface. For example, Lists already implement the IEnumerable interface. Hence, we can write LINQ queries on them. Now, why does LINQ need IEnumerable to work with? This is because the LINQ methods like ‘OrderBy’, ‘Where’ etc. are extension methods implemented on IEnumerable.
https://www.c-sharpcorner.com/article/linq-for-beginners/
https://www.c-sharpcorner.com/UploadFile/72d20e/concept-of-linq-with-C-Sharp/
https://www.c-sharpcorner.com/article/introduction-to-linq/
https://www.c-sharpcorner.com/UploadFile/84c85b/using-linq-with-C-Sharp-2012/
https://www.c-sharpcorner.com/article/using-linq-expressions-in-c-sharp/
https://www.c-sharpcorner.com/UploadFile/de41d6/learning-linq-made-easy-tutorial-1/
https://www.c-sharpcorner.com/UploadFile/de41d6/learning-linq-made-easy-linq-to-sql-tutorial-2/
https://www.c-sharpcorner.com/UploadFile/de41d6/learning-linq-made-easy-linq-to-xml-tutorial-3/
Sachin SinghRank #66 · 26.2K reputationPosted Sep 13, 2022, 3:57 AM EDT
You can follow my articles on this
https://www.sharpencode.com/article/Linq/an-overview-of-linq
Uday DodiyaRank #239 · 10.3K reputationPosted Sep 13, 2022, 2:04 AM EDT
Hi Anand,
Language-Integrated Query (LINQ) is the name for a set of technologies based on the integration of query capabilities directly into the C# language. Traditionally, queries against data are expressed as simple strings without type checking at compile time or IntelliSense support
Please Refer Following article for more,you can easily understand the linq.
https://www.javatpoint.com/what-is-linq
https://www.javatpoint.com/linq-syntax
https://www.javatpoint.com/linq-lambda-expression-syntax
Vishal YelveRank #178 · 13.6K reputationPosted Sep 13, 2022, 5:07 AM EDT
LINQ or Language-Integrated Query is such a tool. LINQ is a set of extensions to the .Net Framework 3.5 and its managed languages that set the query as an object. It defines a common syntax and a programming model to query different types of data using a common language.
Please refer to below link
https://docs.microsoft.com/en-us/dotnet/csharp/linq/
https://www.tutorialspoint.com/asp.net/asp.net_linq.htm
https://www.c-sharpcorner.com/UploadFile/72d20e/concept-of-linq-with-C-Sharp/