Esempio n. 1
0
 public abstract void VisitConcreteElement1(ConcreteElement1 concreteElement1);
 public override void VisitConcreteElement1(ConcreteElement1 concreteElement1)
 {
     Console.WriteLine($"{concreteElement1.GetType().Name} visitado por {GetType().Name}");
 }