What is the difference between Array and Arraylist?
There are some differences between a ref and an out that I have arranged in a table for easier comparison:
Example:string[] array1=new string[5];array1[0]=”Hello”;array1[1]=”Bye”;
Example:ArrayList a1=new ArryList();a1.add(null);a1.insert(1,”hi”);a1.add(3);a1.add(8.23);
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
There are some differences between a ref and an out that I have arranged in a table for easier comparison: