Collection Classes
- slide 13 : 36
Sample use of class
List<T>
Illustration of the
Add
,
Insert
, and
Removal
operations
Illustration of list
bulk operations
Similar program for
Collection<T>
Basic operations on a List of characters.
Output of the program with basic operations on a List of characters.
Observations
The range operations operations, such as
InsertRange
where not present in
Collection<T>
InsertRange
and
RemoveRange
Also known as
bulk operations
The delegate-parameterized operations were not present in
Collection<T>
RemoveAll
and
TrueForAll