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