Esempio n. 1
0
        static void Main(string[] args)
        {
            SystemFacade facade = new SystemFacade();

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

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