private static void Handler_OnMyEvent(object sender, MyEventArgs e) { Console.WriteLine(e.Message); }