Пример #1
0
        static void Main(string[] args)
        {
            Car regularCar  = ExecuteAbstractFactory.MountCar("regular");
            Car sportingCar = ExecuteAbstractFactory.MountCar("sporting");

            Console.ReadKey();
        }
        static void Main(string[] args)
        {
            Carro carro1 = ExecuteAbstractFactory.montarCarro("Luxo");
            Carro carro2 = ExecuteAbstractFactory.montarCarro("Popular");

            Console.ReadKey();
        }