Type of elements within the source iterable.
The source iterable.
OptionalkeyComparator: EqualityComparator<TElement, TElement>Optional equality comparator used to determine whether two elements are identical. Defaults to the library's standard equality comparison.
A sequence that yields each distinct element once.
Eliminates duplicate elements from the sequence using an optional comparator.