IEnumerable<T>.Max(IComparer) Method

Returns the maximum value in a sequence by using the specified IComparer<T> .

Namespace: Spring.Collections
public
 function Max(const comparer: IComparer<T>): T; overload;

Parameters

comparer
Type: IComparer<T>

An IComparer<T> to compare values.

Return Value

Type: T

The maximum value in the sequence.