Exercise: Implement events in C#
This exercise guides you through implementing events in a C# app. You complete the following tasks during this exercise:
- Implement a custom event.
- Subscribe to, handle, and raise events.
- Create event handlers, delegates, and custom event data classes in an application.
Important
This exercise requires a Visual Studio Code environment with the C# Dev Kit extension installed. For help with configuring the Visual Studio Code environment, see Install and configure Visual Studio Code for C# development.
When you select the launch exercise button, the browser navigates to a public GitHub page that provides instructions for this exercise.
When you finish the exercise, return here for:
- A quick knowledge check.
- A summary of what you learned.
- A badge for completing this module.