ArrayList in asp.net
| (1)Its capacity is increased if required as objects are added to it. So it frees programmer from the worries of array overflow.
(2)Provides methods to perform common operations -- append, insert, remove, replace etc. (3)There is no restriction on the type of objects which can be added to an arraylist. First object could be a (4)string, second a double, third a user defined object and so on. (5)ArrayList can be made read only after adding elements to prevent unintentional modifications. (6)It provides an overloaded method to perform binary search on its objects. |
|
