ArrayList--> Index based. HashTable-->Key based.
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.
Such a waste of time.. People are confused with simple basics. Go first and check the difference between an array and an arraylist. C# corner , we expect better from you.
I agree with Rohit, please do not put any invalid comments and content, question is for difference between arraylist and hashtable, people refer these sites for interview, do not post wrong answers
Hashtable is key/value pair based collection where Arraylist is index based. arraylist canbe easily sorted but hashtable is not.
Duffer Ankur we are talking about ArrayList not Array. First you read the question then post your answer