using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Visitor { class Client { public static void HowToTest() { ICarElement car = new Car(); ICarVisitor visitor = new CarPrintVisitor(); car.Accept(visitor); } } }