Array List is an advanced array that can store different types of objects or structures.
we use a method called Boxing / Unboxing.
- Code:
ArrayList liste = new ArrayList();
we use a method called Boxing / Unboxing.
- Code:
liste.Add(4); //Stored at index Count
int i = (int) liste[0] // A Cast is needed.