static void mycar_AboutToBlow(object sender, Car.CarEventArgs e)
 {
     Console.WriteLine(e.msg);
 }
 static void mycar_Exploded(object sender, Car.CarEventArgs e)
 {
     Console.WriteLine(e.msg);
 }
        static void Main(string[] args)
        {
            Car mycar = new Car("mycar", 10, 100);
            mycar.AboutToBlow += new Car.CarEngineHandler(mycar_AboutToBlow);
            mycar.Exploded += new Car.CarEngineHandler(mycar_Exploded);

            for (int i = 0; i < 6; i++)
            {
                mycar.Accelerate(20);
            }
            Console.ReadKey();
        }