// Abctract Factory public static void TestAbstractFactory() { Console.WriteLine("- {0} -", typeof(AbstractFactory).Name); Console.WriteLine(); AbstractFactoryClient client = new AbstractFactoryClient(new Factory1()); client.InteractProducts(); client = new AbstractFactoryClient(new Factory2()); client.InteractProducts(); Console.WriteLine("***************************************"); Console.WriteLine(); }