System.Linq

Provides classes and interfaces that support objects that can be enumerated, which have standard query operator implementations. This namespace is the foundation of LINQ.

Summary

The System.Linq namespace contains the core types and methods for Language Integrated Query (LINQ). LINQ enables you to write queries directly in C# or Visual Basic against a variety of data sources, including in-memory collections, databases, XML documents, and more.

Key features include:

Classes

Interfaces

Extension Methods (Enumerable)

The System.Linq.Enumerable class provides a wide range of extension methods for querying sequences.