What is the difference between Dictionary and Hashtable. How to decide which one to use?
Santosh Kumar Kotnala
The Difference between Dictionary and Hash table can be represented as follows:
Dictionary is a strongly typed generic collection while hashtable collection takes a object datatype. As dictionary is strongly typed so there is no boxing unboxing while in hashtable due to object datatype there is boxing and unboxing. So dictionaries are faster than hashtable.
Regards,See my 20 important c# interview questions and answers