Can anyone explain me What is ArrayList and what for it is used?
Thanks in advance.
Printable View
Can anyone explain me What is ArrayList and what for it is used?
Thanks in advance.
look for answer from SDK
Hi:
It's a class from the System.Collections namespace, intended to be used for holding a list of objects.
Take a look at it, it's very usefull.
VictorL
It's like an array, except it resizes for you automatically.
I have found the ArrayList and HashTable to be the most useful.
check out the system.collections namespace:
http://www.msdn.microsoft.com/librar...ollections.asp
An ArrayList is very similar to a Java Vector. It's has the functionality of a resizeable array. You can use instances of it like you were simply using an array except you don't have to worry about the size being right. It will take care of that for you.Quote:
Originally posted by swathi2002
Can anyone explain me What is ArrayList and what for it is used?
Thanks in advance.