A UML object diagram shows a snapshot.
C# creates and works with objects while the program runs.
Suppose the UML contains:
The debugger does not replace the UML.
It provides evidence about what the C# program actually created.
For a basic object header:
objectIdentity : Typea basic C# creation pattern is:
Type objectIdentity = new Type();Use the actual names and types supplied by the current UML and project.
The next Learning Activity maps the field values inside those object boxes to the corresponding C# object state.