Пример #1
0
 public abstract void GetWoManConclusion(Woman concreteElementB);
Пример #2
0
 public override void GetWoManConclusion(Woman concreteElementB)
 {
     Console.WriteLine("{0}{1}时,背后大多有一个不成功的男人", concreteElementB.GetType().Name, this.GetType().Name);
 }
Пример #3
0
 public override void GetWoManConclusion(Woman concreteElementB)
 {
     Console.WriteLine("{0}{1}时,眼泪汪汪,谁也劝不了。", concreteElementB.GetType().Name, this.GetType().Name);
 }