Initializes a new instance of the SortedList class.
Creates an empty SortedList with an initial capacity of 16, sorted according to the IComparable interface implemented by each key added to the SortedList.
[Visual Basic] Overloads Public Sub New()
[C#] public SortedList();
[C++] public: SortedList();
[JScript] public function SortedList();
Creates an empty SortedList with the specified initial capacity, sorted according to the IComparable interface implemented by each key added to the SortedList.
[Visual Basic] Overloads Public Sub New(Integer)
[C#] public SortedList(int);
[C++] public: SortedList(int);
[JScript] public function SortedList(int);
Creates an empty SortedList with an initial capacity of 16, sorted according to the specified IComparer interface.
[Visual Basic] Overloads Public Sub New(IComparer)
[C#] public SortedList(IComparer);
[C++] public: SortedList(IComparer*);
[JScript] public function SortedList(IComparer);
Creates an empty SortedList with the specified initial capacity, sorted according to the specified IComparer interface.
[Visual Basic] Overloads Public Sub New(IComparer, Integer)
[C#] public SortedList(IComparer, int);
[C++] public: SortedList(IComparer*, int);
[JScript] public function SortedList(IComparer, int);
Copies the entries from a dictionary to a new SortedList, sorted according to the IComparable interface implemented by each key.
[Visual Basic] Overloads Public Sub New(IDictionary)
[C#] public SortedList(IDictionary);
[C++] public: SortedList(IDictionary*);
[JScript] public function SortedList(IDictionary);
Copies the entries from a dictionary to a new SortedList, sorted according to the specified IComparer interface.
[Visual Basic] Overloads Public Sub New(IDictionary, IComparer)
[C#] public SortedList(IDictionary, IComparer);
[C++] public: SortedList(IDictionary*, IComparer);
[JScript] public function SortedList(IDictionary, IComparer);
SortedList Class | SortedList Members | System.Collections Namespace