Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Hi They both are data collection storages. You have to use key value to store data in both. Difference is in hashtable is loosely coupled and dictionary is strongly. In dictionary you have to specify the type of both key and value Eg. Hashtable n=new Hashtable(); Dictionary <int, string > n =new dictionary<into, string>;
26th Jun 2016, 4:17 PM
nitin sharma
nitin sharma - avatar