System.Linq Namespace

The System.Linq namespace provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).

The System.Linq namespace is in the System.Core assembly (in System.Core.dll).

The Enumerable class contains LINQ standard query operators that operate on objects that implement IEnumerable<T>.

The Queryable class contains LINQ standard query operators that operate on objects that implement IQueryable<T>.

For information about LINQ to SQL, see LINQ to SQL.

  ClassDescription
Public classEnumerableProvides a set of static (Shared in Visual Basic) methods for querying objects that implement IEnumerable<T>.
Public classEnumerableExecutorRepresents an expression tree and provides functionality to execute the expression tree after rewriting it.
Public classEnumerableExecutor<T>Infrastructure. Represents an expression tree and provides functionality to execute the expression tree after rewriting it.
Public classEnumerableQueryInfrastructure. Represents an IEnumerable as an EnumerableQuery data source.
Public classEnumerableQuery<T>Infrastructure. Represents an IEnumerable<T> collection as an IQueryable<T> data source.
Public classLookup<TKey, TElement>Represents a collection of keys each mapped to one or more values.
Public classOrderedParallelQuery<TSource>Represents a sorted, parallel sequence.
Public classParallelEnumerableProvides a set of methods for querying objects that implement ParallelQuery{TSource}. This is the parallel equivalent of Enumerable.
Public classParallelQueryRepresents a parallel sequence.
Public classParallelQuery<TSource>Represents a parallel sequence.
Public classQueryableProvides a set of static (Shared in Visual Basic) methods for querying data structures that implement IQueryable<T>.

  InterfaceDescription
Public interfaceIGrouping<TKey, TElement>Represents a collection of objects that have a common key.
Public interfaceILookup<TKey, TElement>Defines an indexer, size property, and Boolean search method for data structures that map keys to IEnumerable<T> sequences of values.
Public interfaceIOrderedEnumerable<TElement>Represents a sorted sequence.
Public interfaceIOrderedQueryableRepresents the result of a sorting operation.
Public interfaceIOrderedQueryable<T>Represents the result of a sorting operation.
Public interfaceIQueryableProvides functionality to evaluate queries against a specific data source wherein the type of the data is not specified.
Public interfaceIQueryable<T>Provides functionality to evaluate queries against a specific data source wherein the type of the data is known.
Public interfaceIQueryProviderDefines methods to create and execute queries that are described by an IQueryable object.

  EnumerationDescription
Public enumerationParallelExecutionModeThe query execution mode is a hint that specifies how the system should handle performance trade-offs when parallelizing queries.
Public enumerationParallelMergeOptionsSpecifies the preferred type of output merge to use in a query. In other words, it indicates how PLINQ should merge the results from the various partitions back into a single result sequence. This is a hint only, and may not be respected by the system when parallelizing all queries.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft