What is difference between HashTable
and SortedList
?
1. Both collections are used to maintain dictionary, where data is stored in the form of key, value pairs.
2. In HashTable keys are taken randomly where in Sorted List key will be in ascending order.