Hashtable SortedList String Dictionary List Dictionary Hybrid Dictionary NameValue Collection Retrieved by name Yes Yes Yes Yes Yes Yes Retrieved by Index Yes Yes Yes Yes Yes Yes Sorted by default No Yes No Key type Object String String (Strongly typed) Object Object String/ Integer Value type Object Object String Object Object Object Performance Optimised for fewer than 10 items Uses List Dictionary for small no of item. Changes to Hashtable as list grows Allows multiple value for a key
Sharing the unusual problems and solutions while developing applications using .Net. and AWS