Monday, June 20, 2016

Difference between Array List and Array

Arrays are strongly typed collection of same data type and these arrays are fixed length that cannot be changed at runtime. Generally in arrays we will store values with index basis that start with zero. If we want to access values from arrays we need to pass index values.

         Array Lists are not strongly type collection. It will store values of different data types or same data type. Array List size will increase dynamically it can take any size of value from any data type. These array Lists will be accessible with “System.Collections” namespace.

No comments:

Post a Comment