Advertisement



< Prev
Next >



C# SortedList Class



The non-generic SortedList collection class stores a sorted collection of key-value pairs, where key and value are objects. In SortedList, the key-value pairs are sorted by the keys, where each key is used as an index at which its associated value is stored.

SortedList collection class implements IDictionary, ICollection, IEnumerable, and ICloneable interfaces and it is defined in the System.Collections namespace.

Note: In SortedList, each key value can also be referred by its index position and using this index position of a key we can get, set its associated value. Basically, it can even be said that each key-value pair can be referred by its index position in the SortedList.


Some important features of SortedList


Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement