- Download the starting code.
3.1 Date Night code (download)
Note: This is the same starting code used in this week's class and sequence diagram assignments.
- Extract the contents of the zip file to the location of your choice.
- Set a breakpoint on line 112 of the MainWindow.xaml.cs file. Start the application and click the New date night button.
- Create a UML object diagram to represent Harry and all of its sub-objects at the current point in the application. Include the values of each object's fields.
Tip: Use the 1.2 Date Night object diagram as a starting point in violet.
- Pay special attention to the following:
- Harry is now a field
- Harry has a Home
- Harry has a GirlFriend
- Sally has a Home