public void Star() { Console.WriteLine("Click keybord to show current time, until user key in Esc button"); while (Console.ReadKey(true).Key != ConsoleKey.Escape) { callbackObj.Run(); } }
public void Start() { Console.WriteLine("敲键盘任意键就显示当前的时间,直到按ESC退出...."); while (Console.ReadKey(true).Key != ConsoleKey.Escape) { Back.Run(true); } }
public void Star() { Console.WriteLine(@"敲键盘任意键就显示当前的时间,直到按ESC退出...."); while (Console.ReadKey(true).Key != ConsoleKey.Escape) { CallBackObj.Run(); } }