static void Main(string[] args) { Facade facade = new Facade(); facade.MethodA(); facade.MethodB(); Console.ReadKey(); }
/// <summary> /// Entry point into console application. /// </summary> public static void Main() { Facade facade = new Facade(); facade.MethodA(); facade.MethodB(); // Wait for user Console.ReadKey(); }
static void Main(string[] args) { #region 结构实现 Structural.Facade facade = new Structural.Facade(); facade.MethodA(); facade.MethodB(); #endregion Console.WriteLine("******************************"); #region 实践应用 #endregion Console.ReadKey(); }