public void VisitSquareBox(SquareVisitable visitable)
 {
     Console.WriteLine($"All sides of box are {visitable.SideSize}");
 }
Beispiel #2
0
 public void VisitSquareBox(SquareVisitable visitable)
 {
     Console.WriteLine($"Все стороны коробки равны {visitable.SideSize}");
 }