After completing this chapter, you will be able to
Add enumeration interfaces to classes.
Add collection interfaces to classes.
Add list interfaces to classes.
Add dictionary interfaces to classes.
As you saw in Chapter 1, through Chapter 3, collections come in all shapes and sizes. They all have different ways that they can be manipulated and accessed. The way that each collection type interacts with the world is what makes each unique and useful. However, they all have one thing in common: they contain a collection of items. Traversing a stack, however, is done differently from traversing a list or dictionary. Your implementation of traversing a list might be ...