Free mag vol1 | Page 282

CHAPTER 6  UNDERSTANDING INHERITANCE AND POLYMORPHISM Figure 6-3. The visual designer of Visual Studio  Note As a shortcut, if you wish to automatically add all of your project’s current types to a designer surface, select the Project node within the Solution Explorer and then click the View Class Diagram button in the upper right of the Solution Explorer window. Beyond simply displaying the relationships of the types within your current application, recall from Chapter 2 that you can also create brand new types and populate their members using the Class Designer toolbox and Class Details window. If you want to make use of these visual tools during the remainder of the book, feel free. However, always make sure you analyze the generated code so you have a solid understanding of what these tools have done on your behalf.  Source Code The BasicInheritance project is located under the Chapter 6 subdirectory. 219