Interviews - C# Corner

Vivek Kumar
List out the differences between Array and ArrayList in C#?
By Vivek Kumar in C# onFeb 08 2016
  • Vivek Kumar
    Feb, 2016 8

    1)Array stores the values or elements of same data type but arraylist stores values of different datatypes. 2) Arrays will use the fixed length but arraylist does not uses fixed length like array.

    • 2
  • kajal rane
    Apr, 2019 7

    1)array store the value of same data types. array list store value of different data types. 2)array has fixed length to store data ,arraylist is automatically increased its size as new value is inserted in arraylist. 3)type casting is not require to invoked data from array.type casting is require to invoked data from arraylist bcz vales are of different data type .

    • 0
  • Mukesh Kumar
    Sep, 2017 3

    array has fixed size but array list has no fixed size

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS