Click or drag to resize

CollectionExtensions.MajorityBy Method

Overload List
  Name Description
Public Extension Method MajorityBy<TSource, TKey> (IEnumerable<TSource> , Func<TSource, TKey> , Boolean, IEqualityComparer<TKey> ) Returns the majority value in the collection, or default type value if no item represents the majority.
Public Extension Method MajorityBy<TSource, TKey> (IEnumerable<TSource> , TSource, Func<TSource, TKey> , Boolean, IEqualityComparer<TKey> ) Returns the majority value in the collection, or defaultValue if no item represents the majority.
Top
See Also