Class Hierarchies

Visual Studio 2008 offers several windows that document class hierarchies and show relationships between classes, including inheritance. The Class View, Object Browser, and Class Diagram windows are examples. The Class View and Object Browser windows have been available for some time, but the Class Diagram window was introduced in Visual Studio 2005.

Class View Window

The Class View window provides a visual representation of the types included in the projects of the current solution. Expand the project and then expand class nodes to display the class hierarchy. Each item in the class hierarchy has a context menu with helpful commands. For example, use the context menu to render classes in a class diagram. The Class View window ...

Get Programming Microsoft® Visual C#® 2008: The Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.