Επεξεργασία

Κοινή χρήση μέσω


SortedSet<T>.Max Property

Definition

Gets the maximum value in the SortedSet<T>, as defined by the comparer.

public:
 property T Max { T get(); };
public T Max { get; }
public T? Max { get; }
member this.Max : 'T
Public ReadOnly Property Max As T

Property Value

T

The maximum value in the set.

Remarks

If the SortedSet<T> has no elements, then the Max property returns the default value of T.

Applies to