SortedSet<T> Constructor
.NET Framework (current version)
Initializes a new instance of the SortedSet<T> class.
Assembly: System (in System.dll)
| Name | Description | |
|---|---|---|
![]() | SortedSet<T>() | Initializes a new instance of the SortedSet<T> class. |
![]() | SortedSet<T>(IComparer<T>) | Initializes a new instance of the SortedSet<T> class that uses a specified comparer. |
![]() | SortedSet<T>(IEnumerable<T>) | Initializes a new instance of the SortedSet<T> class that contains elements copied from a specified enumerable collection. |
![]() | SortedSet<T>(IEnumerable<T>, IComparer<T>) | Initializes a new instance of the SortedSet<T> class that contains elements copied from a specified enumerable collection and that uses a specified comparer. |
![]() | SortedSet<T>(SerializationInfo, StreamingContext) | Initializes a new instance of the SortedSet<T> class that contains serialized data. |
This constructor is an O(1) operation.
Show:

