/// <summary> /// 得到男人结论或反映 /// </summary> /// <param name="man"></param> public abstract void GetManConclusion(Man man);
public override void GetManConclusion(Man concreteElementA) { Console.WriteLine("{0} {1}时,背后大多有一个不伟大的女人", concreteElementA.GetType().Name, this.GetType().Name); }