0 votes
in Dot Net by
What is the difference between Hash table and Array list?

1 Answer

0 votes
by

Hash table stores data in the form of value pair and name while Array list stores only values.

You need to pass name to access value from the Hash table while in Array, you need to pass index number to access value.

In Array, you can store only similar type of data type while in Hash table you can store different type of data types. ex. int, string etc.

...