/// <summary> /// normal object create /// </summary> static void ObjectCreate() { //normal invoke IPerson man = new Man(); man.Name = "yoolo"; man.Speak(); System.Console.WriteLine("***********************"); //base-objectFactory invoke IPerson man2 = PersonFactory.MakePerson(); man2.Name = "Demi"; man2.Speak(); }