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