Language-Integrated Query (LINQ) Tutorials

LINQ is the name for a set of technologies based on the integration of query capabilities directly into the C# language.

So far, we have published 27 LINQ tutorials and articles, which have been read by over 3142521 (Three Million One Hundred Forty Two Thousand Five Hundred Twenty One) developers and architects.

66107 views
Abstract: The way LINQ queries are executed depends on the kind of data source being queried. This tutorial talks about how a LINQ query is executed and how this affects performance.
174774 views
Abstract: In LINQ, queries have two different behaviors of execution: immediate and deferred. In this article, we will take a quick overview of how Deferred query execution and Immediate Query Execution works in LINQ
87073 views
Abstract: PLINQ provides support for Parallel programming and is closely related to the Task Parallel Library. In very simple words, PLINQ enables a query to automatically take advantage of multiple processors. In this article, we will see a simple example of transforming a LINQ query to PLINQ.
446453 views
Abstract: I have been writing some LINQ tutorials, tips and How To's on my blog and most of these posts contain short snippets that can be used in your project or that demonstrate how to use LINQ effectively. I wanted to share them with my readers over here. These short examples demonstrate how to use a particular LINQ feature and are listed over here in no particular order.
73796 views
Abstract: In this article, we will see how to perform a JOIN between a Collection and XML Data using LINQ.
652729 views
Abstract: In this article, we will learn LINQ To XML using some ‘How Do I’ kind of examples.
92587 views
Abstract: In this article, we will use LINQ to print the Longest and Shortest Type Name in .NET 4.0.
160775 views
Abstract: I was recently going through the forums and found some developers struggling with queries involving Classes with One-To-Many Relationship. In this article, I will demonstrate how to query a Hierarchical Parent-Child Structure using LINQ.
90830 views
Abstract: This article demonstrates how to query a Web Service’s public API using LINQ
97985 views
Abstract: : In this article, we will read an XML file containing Master-Detail records and represent it as an object using LINQ.
76509 views
Abstract: In this article, we will see how to read and filter the RSS Feed of dotnetcurry.com using LINQ to XML.
89521 views
Abstract: I was recently working on a requirement where I had to read a XML file and then identify a key, value pair and load it into a Dictionary object. I used LINQToXML to solve this requirement.
119599 views
Abstract: In Part I of this article, I shared some common operations on List. In this article, I will share some advanced examples that demonstrate common operations on List
123035 views
Abstract: In this article, I will demonstrate some common operations on List using LINQ
143898 views
Abstract: In this article, I will demonstrate a simple example of converting a List<> to XML using LINQ.

Partitioning Data Using LINQ

Authored by: Suprotim Agarwal in LINQ on 11/16/2009
64333 views
Abstract: We often come across requirements where data needs to be partitioned into two parts and then return one of the parts. The Partition Operators in LINQ helps you partition data. In this article, we will see how to use these operators to partition collections
61211 views
Abstract: In this article, we will see how to select the highest value in a Group or Category using LINQ
40394 views
Abstract: The following article demonstrates how to use LINQ to perform some complex tasks in ASP.NET.
78403 views
Abstract: In this article, I will show you how to ‘query’ the ASP.NET SiteMap using LINQ. The intention of this article is to demonstrate the power and simplicity of querying an XML document like the ASP.NET SiteMap using LINQ.
78899 views
Abstract: Quantifier operations return a Boolean value if some or all of the elements in a sequence satisfy a condition. In this article, we will see some common LINQ to Objects scenarios where we can use these operators.
36708 views
Abstract: While browsing through the forums a couple of days ago, I came across this query where the user wanted to list down the types in .NET 3.5 in the order of the length of their names. He also wanted to find out the total number of types in .NET 3.5 and 2.0. Here’s how to do so using LINQ.
56432 views
Abstract: The ‘GroupBy’ feature in LINQ is amazing and very powerful. In this article, we will see some common GroupBy operations using LINQ.
61624 views
Abstract: In this article, we will see how to create Generic List(T) collection of Anonymous Types using LINQ in C# and VB.NET. We will also explore Extension Methods and see how to call them using AnonymousTypes
42820 views
Abstract: In this article, we will explore some common ‘How Do I’ kind of examples using LINQ to XML. This article is the final part of our 3-part LINQ to XML series.
41209 views
Abstract: In this article, we will explore some common ‘How Do I’ kind of examples using LINQ to XML. This article is the Part II of the 3-part LINQ to XML series.
54248 views
Abstract: In this article, we will explore some common ‘How Do I’ kind of examples using LINQ to XML. This article is the Part I of the 3-part LINQ to XML series.
30561 views
Abstract: LINQ can be used to query on objects that are generic collections and implement the generic IEnumerable interface. However nongeneric collections like the ArrayList do not implement the 'generic' IEnumerable interface. In this article we will see how to use LINQ to query nongeneric collections like the ArrayList.

  
Article Filter :
Per page: