Method ToLookup
ToLookup()
Creates a snapshot ILookup<TKey, TElement> by copying the current contents of the dictionary using its KeyComparer. Subsequent changes to the dictionary are not reflected in the returned lookup.
Declaration
public ILookup<TKey, TValue> ToLookup()
Returns
| Type | Description |
|---|---|
| ILookup<TKey, TValue> |