Skip to content

Latest commit

 

History

History
 
 

events

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

C# Events Sample

This sample is created during the Delegates and Events topic for learning C# features. Please see that topic for detailed steps on the code for this sample.

Key Features

This sample demonstrates defining and raising events, subscribing to events, and release event handlers.

Build and Run

To build and run the sample, type the following two commands:

dotnet restore dotnet run

dotnet restore restores the dependencies for this sample. dotnet run builds the sample and runs the output assembly.