예제 #1
0
 public void Visit(Cuboid c)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 public void Visit(Cuboid c)
 {
     Console.WriteLine($"Greets from {c.Name}, the cuboid with dimensions {c.Width}, {c.Length} and {c.Height}.");
 }