5. WHAT IS AN
ARRAYLIST
• In C#, the ArrayList is a non-
generic collection of objects
whose size increases dynamically.
It is the same as Array except
that its size increases
dynamically.
• An ArrayList can be used to add
unknown data where you don't
know the types and the size of
the data.
6. PRACTICAL USES OF AN ARRAYLIST
• Arraylist class implements List interface and it is based on an Array data structure.
• It is widely used because of the functionality and flexibility it offers.
• Most of the developers choose Arraylist over Array as it's a very good alternative
of traditional arrays (fixed size and not flexible).
7.
8. ARRAYLIST SYNTAX
• The ArrayList class included in the System.Collections namespace. Create an
object of the ArrayList using the new keyword.
• CONTINUE TO LIVEWALK THRU
9.
10.
11. DISCUSSION
• Why is this important?
• How can this be useful to me?
• How can I use this in my current
job?
• How can I use this in my future
career?
• What will I get out of this?
• How is this used in the real world
Regroup and discuss after…