When do we use HASH TABLE and when we use HASH MAP

 Posted by deccansoft on 9/27/2010 | Category: C# Interview questions | Views: 3984


Whenthere is necessity store the key value pairs, should go for the
hashtable or hashmap, preferred one is Hashmap as the hashtable is
synchronized. The basic objective is to maintain the pairs. Knowing the key you can iterate through these collections and get the values.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response