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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.