Delegate KeySelector<TKey, TValue>
Represents a key selector function, which transforms a provided value into a key, within a KeyValuePair<TKey, TValue>.
public delegate TKey KeySelector<TKey, TValue>(TValue value)
Parameters
valueTValueThe value to transform into a key.
Returns
- TKey
The transformed key.
Type Parameters
TKeyThe type of the key.
TValueThe type of the value.
- Extension Methods