static void Main(string[] args) { handler += new deleventhandler(square); Console.ReadKey(); }
static void Main(string[] args) { handler += new deleventhandler(square); handler += new deleventhandler(circle); handler.Invoke(); }