difference between dictionary and hashtable
Differences Between Hashtable and Dictionary. 1. Hashtable is threadsafe and while Dictionary is not. 2. Dictionary is types means that the values need not to boxing while Hashtable. values need to be boxed or unboxed because it stored the values and keys as. objects.
Dictionary is not efficient for large collections of Key and Value pair. Hashtable is efficient for large collections of Key and Value pair. Dictionary maintains the order of entries while we retrieve the record from Dictionary by which entries were added.