Learn Minimal APIs from start to finish. Perfect for beginners.

Delegates and events in C#

David Grace David Grace

Delegates and events are one of the most confusing features in C#. We explain delegates and events in this article, or you can watch the video:

Download the code example

You'll need to fill out the code example form. We will send you an email where you can download the code example.

Software

This is the software that will need to be installed onto your machine.

The application

Open up RoundTheCode.DelegatesEvents.slnx in Visual Studio. It loads a console application with everything covered in the tutorial and video. Feel free to modify and run it in a terminal window to test the code.

Download this code example

Enter your email and we'll send you a download link.

Download this code example

Enter your email and we'll send you a download link.