Exemplo n.º 1
0
 public static void OnCarEngineEvent2(object sender, CarEventArgs e) {
     Console.WriteLine("=>{0}", e.Message.ToUpper());
 }
Exemplo n.º 2
0
 public static void OnCarEngineEvent(object sender, CarEventArgs e) {
     Console.WriteLine("\n***** Message From Car Object *****");
     Console.WriteLine("=>{0}", e.Message);
     Console.WriteLine("***********************************\n");
 }