public void NewCarIsHere(object sender, CarInfoEventArgs e)
 {
     Console.WriteLine($"{name}: car {e.Car} is new");
 }
Example #2
0
 public void NewCarIsHere(object sender, CarInfoEventArgs e)
 {
     Console.WriteLine("{0}:car {1} is  new ",name,e.Car);
 }