Programming C# 2.0, 3.0, 4.
Muhammed Ali Sakhi
Microsoft Certified Trainer
© PakDev.net
Agenda
ArrayList
Stack
Queue
© PakDev.net
ArrayList
Requires System.Collections namespace
Works like Arrays, but better
Dynamically Resized
Easy to Add, Sort, Find, and Remove Items
Can contain any type of data
© PakDev.net
Stacks
Types of collection
Follows LIFO Data Structure
Push and Pop methods
© PakDev.net
Queues
Like Stacks
Follows FIFO Data Structure
Enqueue and Dequeue methods
© PakDev.net
Basic Collections
Demo
© PakDev.net
Thank you
PakDev.net
© PakDev.net