public void visit(Wheel wheel) { Console.WriteLine("Visiting " + wheel.getName() + " wheel"); }
public void visit(Wheel wheel) { Console.WriteLine("visiting the wheel"); }
public void Visit(Wheel wheel) { Console.WriteLine("visiting {0} wheel", wheel.Name); }
public void visit(Wheel wheel) { Console.WriteLine("Kicking my " + wheel.getName() + " wheel"); }
public void Visit(Wheel wheel) { Console.WriteLine("kicking my {0} wheel", wheel.Name); }
public void Visit(Wheel wheel) { Console.WriteLine("Wheel ({0}): {1}", wheel.Name, wheel.Tire); }
public void Visit(Wheel wheel) { Console.WriteLine($"Output the element: {wheel.Name}"); }
public void Visit(Wheel wheel) { Console.WriteLine("test wheel #" + wheel.GetNumber()); }