Ejemplo n.º 1
0
 private static void callDoctor(object sender, MyArgs e)
 {
     Console.WriteLine($"A doctor has been sent to {e.adress}");
 }
Ejemplo n.º 2
0
 private static void giveMedicine(object sender, MyArgs e)
 {
     Console.WriteLine($"Medicine has been given to {e.name}");
 }