Пример #1
0
 public override void Run(AbstractProductA a)
 {
     Console.WriteLine(this.GetType().Name + " > " + a.GetType().Name);
 }
 public override void Interact(AbstractProductA a)
 {
     Console.WriteLine(this.GetType().Name + " interacts with " + a.GetType().Name);
 }