Mine
public text v1 · immutablenamespace SandBox
{
class Program
{
public static event EventHandler<EventArgs> myEvent;
static void Main(string[] args)
{
myEvent +=new EventHandler<EventArgs>(ponk);
if(myEvent != null)
myEvent.Invoke(null, new EventArgs());
}
static void ponk(object sender, EventArgs e)
{
Console.WriteLine("yoko!");
}
}
}