예제 #1
0
        static void Main(string[] args)
        {
            string channel     = "E-commerce";
            string productType = "Toys";

            var fg = new FactoryGetter();

            fg.PlaceOrder(channel, productType);
        }
예제 #2
0
        static void Main(string[] args)
        {
            var ctype = CarType.LUXURY;
            var loc   = Location.INDIA;

            var fg = new FactoryGetter();

            fg.GetCar(ctype, loc);
        }