Пример #1
0
        static void Main(string[] args)
        {
            CarStore store = new CarStore(new SimpleCarFactory());
            Console.WriteLine("A 客人訂購Ford");
            store.CarOrders("Ford");
            Console.WriteLine("Deal !");

            Console.ReadLine();
        }        
Пример #2
0
        static void Main(string[] args)
        {
            CarStore store = new CarStore(new SimpleCarFactory());

            Console.WriteLine("A 客人訂購Ford");
            store.CarOrders("Ford");
            Console.WriteLine("Deal !");

            Console.ReadLine();
        }