public abstract void VisitConcreteElementA(ConcreteElementA element);
public override void VisitConcreteElementA(ConcreteElementA element) { stringBuilder.Append("ElementA;"); }
public override void VisitConcreteElementA(ConcreteElementA element) => visitCount++;