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 three commands:

dotnet restore dotnet build dotnet run

dotnet restore installs all the dependencies for this sample into the current directory. dotnet build creates the output assembly (or assemblies). dotnet run runs the output assembly.