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