[Extension()] public static IEnumerable<T> Distinct<T,TKey>( IEnumerable<T> seq, Func<T,TKey> funcProjection )
Parameters
- seq
- The source sequence that contains elements.
- funcProjection
- The projection function to obtain an instance of type TKey from an instance of type T.
Type Parameters
Return Value
The sequence of distinct items.