System.Linq.ILookup<TKey,TElement>

Defines an indexer, size property, and Boolean search method for data structures that map keys to IEnumerable`1 sequences of values.

See Also: ILookup<TKey,TElement> Members

Syntax

public interface ILookup<TKey, TElement> : IEnumerable<IGrouping<TKey, TElement>>

Type Parameters

TKey
Documentation for this section has not yet been entered.
TElement
Documentation for this section has not yet been entered.

Remarks

The type System.Linq.Lookup`2 implements the System.Linq.ILookup`2 interface.

The extension method erload:System.Linq.Enumerable.ToLookup, which can be appended to the end of a LINQ query, returns an object of type System.Linq.ILookup`2.

Requirements

Namespace: System.Linq
Assembly: System.Core (in System.Core.dll)
Assembly Versions: 3.5.0.0, 4.0.0.0