SortedSet<T> Constructor

.NET Framework (current version)
 

Initializes a new instance of the SortedSet<T> class.

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

NameDescription
System_CAPS_pubmethodSortedSet<T>()

Initializes a new instance of the SortedSet<T> class.

System_CAPS_pubmethodSortedSet<T>(IComparer<T>)

Initializes a new instance of the SortedSet<T> class that uses a specified comparer.

System_CAPS_pubmethodSortedSet<T>(IEnumerable<T>)

Initializes a new instance of the SortedSet<T> class that contains elements copied from a specified enumerable collection.

System_CAPS_pubmethodSortedSet<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.

System_CAPS_protmethodSortedSet<T>(SerializationInfo, StreamingContext)

Initializes a new instance of the SortedSet<T> class that contains serialized data.

This constructor is an O(1) operation.

Return to top
Show: