public void Visit(Kid kid)
 {
     Console.WriteLine($"doctor visited kid {kid.Name}");
 }
Пример #2
0
 public void Visit(Kid kid)
 {
     Console.WriteLine($"sales man visited kid {kid.Name}");
 }