21.1 Fill in the blanks in each of the following statements:
a) A(n) _______ is used to walk through a collection but cannot remove elements from the collection during the iteration.
b) Class _______ provides the capabilities of an arraylike data structure that can resize itself dynamically.
c) An element in an
ArrayList can be accessed by using the
IEnumerator method _______ advances the enumerator to the next item.
e) If the collection it references has been altered since the enumerator’s creation, calling method
Reset will cause a(n) _______.
21.2 State whether each of the following is true or false. If false, explain why.
Stack is in the
Hashtable stores ...