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 2750593 (Two Million Seven Hundred Fifty Thousand Five Hundred Ninety Three) developers and architects.

8201 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.
148369 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
78409 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.
406549 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.
67694 views
Abstract: In this article, we will see how to perform a JOIN between a Collection and XML Data using LINQ.
569273 views
Abstract: In this article, we will learn LINQ To XML using some ‘How Do I’ kind of examples.
88019 views
Abstract: In this article, we will use LINQ to print the Longest and Shortest Type Name in .NET 4.0.
139612 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.
85946 views
Abstract: This article demonstrates how to query a Web Service’s public API using LINQ
93471 views
Abstract: : In this article, we will read an XML file containing Master-Detail records and represent it as an object using LINQ.
73417 views
Abstract: In this article, we will see how to read and filter the RSS Feed of dotnetcurry.com using LINQ to XML.
83181 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.
114205 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
117438 views
Abstract: In this article, I will demonstrate some common operations on List using LINQ
126064 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
60521 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
39044 views
Abstract: In this article, we will see how to select the highest value in a Group or Category using LINQ
37423 views
Abstract: The following article demonstrates how to use LINQ to perform some complex tasks in ASP.NET.
72933 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.
63141 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.
32514 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.
44770 views
Abstract: The ‘GroupBy’ feature in LINQ is amazing and very powerful. In this article, we will see some common GroupBy operations using LINQ.
55963 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
37005 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.
35388 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.
46999 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.
25030 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:

Categories

JOIN OUR COMMUNITY

POPULAR ARTICLES

C# .NET BOOK

C# Book for Building Concepts and Interviews

Tags

JQUERY COOKBOOK

jQuery CookBook