public void Accept(Visitor visitor)
 {
     foreach(Element element in elements)
     {
         element.Accept(visitor);
     }
 }
 public abstract void Accept(Visitor visitor);
 public override void Accept(Visitor visitor)
 {
     visitor.VisitConcreteElementB(this);
 }