In the following exercise, you will examine a simple phone book application and complete its implementation. You will write two indexers in the PhoneBook class: one that accepts a Name parameter and returns a PhoneNumber and another that accepts a PhoneNumber parameter and returns a Name. (The Name and PhoneNumber structures have already been written.) You will also need to call these indexers from the correct places in the program.
Familiarize yourself with the application
Start Microsoft Visual Studio 2008 if it is not already running.
Open the Indexers project, located in the \Microsoft Press\Visual CSharp Step by Step\ Chapter 16\Indexers folder in your Documents folder.
This is a Windows Presentation Foundation ...