Creating C# class diagrams

You can create a new class diagram and then populate the diagram with C# classes and data types to examine the structure and relationships in C# applications.

Before you begin

You must be in the .NET perspective.

About this task

To create a class diagram:

Procedure

  1. Click File->New->Class Diagram.
  2. In the New Class Diagram wizard, in the Enter or select the parent folder field, specify the parent folder.
  3. In the File name field, type the file name.
  4. Click Finish.

Results

The diagram is ready to be populated with non-editable visual elements by dragging files from the .NET solution in the Project Explorer view. Add editable UML elements using the pop-up menus or the diagram palette.

Feedback