Systems.Collections.Generic SortedList

implemetnts an ordered list
items are sorted by key as they are added
Identical to SortedDictionary but it is optimised for fast insertion of previously sorted data.


This represents a collection of keys/pairs that are sorted by the keys and are accessible by key and by index.
As elements are added the capacity is automatically increased as required.
The capacity can be reduced by calling TrimToSize or by explicitley settings the Capacity property


System.Collections.Generic.SortedList 

objSortedList.Count 
objSortedList.Capacity
objSortedList.GetByIndex
objSortedList.GetKey




© 2020 Better Solutions Limited. All Rights Reserved. © 2020 Better Solutions Limited TopPrevNext