SortedSet<T>.Max Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The maximum value in the set.
Remarks
If the SortedSet<T> has no elements, then the Max property returns the default value of T
.