Пример #1
0
 public abstract void VisitBoysHouse(BoysHouse boysHouse);
Пример #2
0
 public override void VisitBoysHouse(BoysHouse boysHouse)
 {
     boysHouse.GiveBall();
 }
Пример #3
0
 public override void VisitBoysHouse(BoysHouse boysHouse)
 {
     Console.WriteLine("Give nothing...");
 }
Пример #4
0
 public abstract void VisitBoysHouse(BoysHouse boysHouse);