摘要:
public class WindowHelper { public static void ShowTime(object userData) { int oldX = Console.CursorLeft; int oldY = Console.CursorTop; Console.SetCursorPosition(0, 0); Console.Write(DateTime.Now.ToLongTimeString()); Console.CursorLeft = oldX; Console.CursorTop = oldY; } } class Program { static v.. 阅读全文