Category: LINQ


What is a Parallel Query? Language-Integrated Query (LINQ) was introduced in the .NET Framework version 3.0 It features a unified model for querying any System.Collections.IEnumerable or System.Collections.Generic.IEnumerable data source in a type-safe manner. LINQ to Objects is the name for LINQ queries that are run against in-memory collections such as List and arrays. This article

Restriction Operator in LINQ

Restriction Operatorswhere is the restriction operator. It applies filter criteria on the sequence. The values of the sequence are filtered based on a supplied predicate. The where operator does not initiate the execution of the query. The query is executed when enumeration over the object is initiated, at which point the filter is applied. This

Learning LINQ Part-2

LINQ (Language INtegrated Query): 1) LINQ is a technique for querying data. 2) We can easily retrieve data from any object that implements the IEnumerable<T> interface using LINQ. 3) LINQ supports IntelliSense and objects are strongly type-safe on the other hand SQL queries are not.  LINQ Types: LINQ to Object LINQ to ADO.Net   LINQ to

Learning LINQ Part-1

Introduction LINQ (Language Integrated Query) is a programming model that introduces queries as a regular programming concept into .NET Languages. LINQ syntax is more semantic and self explanatory. It provides a simple but most powerful environment to the developer by reducing code size. LINQ can access data from several data sources like Plain .NET Objects