SortedSet<T>.Max Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Collections.Generic
Assembly:  System (in System.dll)

public T Max { get; }

Property Value

Type: T

The maximum value in the set.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top