Lookup<TKey, TElement>
sealed class Lookup<TKey, TElement> : ILookup<TKey, TElement>, IEnumerable<IGrouping<TKey, TElement>>, IEnumerable
Represents a collection of keys each mapped to one or more values.
Gets the number of key/value collection pairs in the Lookup<T, U>.
Gets the collection of values indexed by the specified key.
public IEnumerable<TResult> ApplyResultSelector<TResult>(Func<TKey, IEnumerable<TElement>, TResult> resultSelector)
Applies a transform function to each key and its associated
values and returns the results.
Determines whether a specified key is in the Lookup<T, U>.
Returns a generic enumerator that iterates through the Lookup<T, U>.