예제 #1
0
        static void Main(string[] args)
        {
            SystemFacade facade = new SystemFacade();

            facade.Buy();
            Console.Read();
        }
예제 #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Console.WriteLine("--------------------FacadePattern--------------------");
            Console.WriteLine();
            var facade = new SystemFacade();

            facade.Buy();
            Console.ReadKey();
        }