public void Visit(Garage garage)
 {
     garage.Floor = "polished concrete floor";
 }
Пример #2
0
 public void Visit(Garage garage)
 {
     garage.Color     = "blue";
     garage.DoorColor = "white";
 }