Professional Documents
Culture Documents
Lab 2
Lab 2
Lab 2
● Objective: Implement the ability to add and retrieve elements from your
list.
● Task: (0.5 point)
● Implement a method Add(T item) that adds an item to the list.
● Add a Get(int index) method to retrieve an item at a specific index.
● Objective: Add functionality to reset the list and reverse the order of
elements.
● Task: (0.5 point)
● Implement Clear to reset the list and its capacity.
● Implement Reverse to reverse the order of the elements in the list.