Now that we have introduced key concepts of object-oriented programming, we present two features that Visual Studio provides to facilitate the design of object-oriented apps—Class View and Object Browser.
The Class View displays the fields, methods and properties for all classes in a project. Select VIEW > Class View to display the Class View as a tab in the same position within the IDE as the Solution Explorer. Figure 10.12 shows the Class View for the
Time1 project of Fig. 10.1 (class
Time1) and Fig. 10.2 (class
Time1Test). The view follows a hierarchical structure, positioning the project name (
Time1) as the root and including a series of nodes that represent the classes, variables, ...