Difference between Array and ArrayList in C#
The following table lists the difference between Array and ArrayList in C#.
|Array is strongly typed. This means that an array can store only specific type of items\elements.||ArrayList can store any type of items\elements.|
|Array stores fixed number of elements. Size of an Array must be specified at the time of initialization.||ArrayList grows automatically and you don't need to specify size.|
|No need to cast elements of an array while retriving because it is strongly type and stores specific type of items only.||Items of ArrayList need to be cast to appropriate data type while retriving.|
|Use static helper class Array to perform different tasks on the array.||ArrayList itself includes various utility methods for various tasks.|