Skip to content

Instantly share code, notes, and snippets.

@artronics
artronics / events
Created May 28, 2015 19:04
A simple code to demonstrate how events work on C#. this is based on a great video by Mosh Hamedanian: https://www.youtube.com/watch?v=jQgwEsJISy0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace @event
{
class Program
{