Export (0) Print
Expand All

SortedSet<T> Constructor

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method SortedSet<T>() Initializes a new instance of the SortedSet<T> class.
Public method SortedSet<T>(IComparer<T>) Initializes a new instance of the SortedSet<T> class that uses a specified comparer.
Public method SortedSet<T>(IEnumerable<T>) Initializes a new instance of the SortedSet<T> class that contains elements copied from a specified enumerable collection.
Public method 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.
Protected method SortedSet<T>(SerializationInfo, StreamingContext) Initializes a new instance of the SortedSet<T> class that contains serialized data.
Top

This constructor is an O(1) operation.

Show:
© 2014 Microsoft