Beispiel #1
0
 public abstract void VisitCustomer(RichCustomer customer);
Beispiel #2
0
 public override void VisitCustomer(RichCustomer customer) => Console.WriteLine("Customer {0} can pay 100$ for {1}", customer.name, GetType().Name);