Articles → .NET → Arraylist in C#
Arraylist in C#
What is an arraylist?
- While declaring an arraylist, we have not defined the size.
- We can add items as objects which means that we can add data of different data types in the same arraylist.
- We can loop through an arraylist using for loop and foreach loop.
Click to Enlarge