Type of elements within the source iterable.
Type of key produced by keySelector.
The first most frequent element, or null when source contains no elements.
Re-throws any error thrown while iterating source or executing keySelector.
Unlike mode, this function communicates the absence of elements by returning null. When multiple keys share the maximum frequency, the element encountered first is returned.
Returns the element that appears most frequently in source, or
nullwhen the iterable is empty.