Arraylist:
- It is like Array of objects.
- "System.Collections" is the Namespace for Arraylist. It automatically added to namespace section in aspx.cs page.
- We need not to specify object type arraylist going to contain.
- In arraylist each item is stored as object. And return value as object.
- It needs to box and unbox the elements.
List<T>:
- "System.Collections.Generic" is the Namespace for List. We need to add this.
- We need to specify object type which type of elements it contain.
- Ex: List<string> StrObj=new List<string>();
- From the above example StrObj will only store string objects.
- It doesn't need.


Ravi Kumar SirigineediPosted Oct 29, 2013, 10:32 PM EDT
Good. Nice to know in simple terms. And the link that given by @senthil dhaktchina also helped me to better understand.
senthil dhaktchinaPosted Apr 22, 2013, 8:43 AM EDT
Nice one...you can see the nice explanation here also: http://senthilvijayalakshmi.blogspot.in/2013/03/generic-list-and-arralist-difference-in.html
Raghavendra UPosted Aug 22, 2010, 8:32 PM EDT
Thank you sir
Mahesh ChandTOP 10Posted Aug 22, 2010, 6:58 AM EDT
Nice to know the differences.