public void VisitRectangularBox(RectangularVisitable visitable)
 {
     Console.WriteLine($"Size of box is: {visitable.Width}x{visitable.Height}x{visitable.Length}");
 }
示例#2
0
 public void VisitRectangularBox(RectangularVisitable visitable)
 {
     Console.WriteLine($"Размер коробки: {visitable.Width}x{visitable.Height}x{visitable.Length}");
 }