// Event handler
 public void HandleWhenExceedSpeed(object sender, CarExceedSpeedEventArgs e)
 {
     System.Console.WriteLine("{1} : You are driving at {0}. Slow down!", ((Car)sender).Speed, e.WhenViolate);
 }
 // Event handler
 public void HandleWhenExceedSpeed(object sender, CarExceedSpeedEventArgs e)
 {
     System.Console.WriteLine("{1} : You are driving at {0}. Slow down!", ((Car)sender).Speed, e.WhenViolate);
 }