Home > DeveloperSection > Interviews > What are differences between Array list and Hash table?

Posted on    November-20-2014 10:58 PM

 .NET .NET  Hashtable  Array List 
 1 Answer(s)
  859  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    November-20-2014 11:58 PM

1) Hash table store data as name, value pair. While in array only value is store.

2) To access value from hash table, you need to pass name. While in array, to access value, you need to pass index number.

3) you can store different type of data in hash table, say int, string etc. while in array you can store only similar type of data.

Don't want to miss updates? Please click the below button!

Follow MindStick