SortedSet<T> Constructor

.NET Framework (current version)
 
System_CAPS_noteNote

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

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: