private static void Main(string[] args) { dm.ConLog(dm.Reg("自己的注册码", "")); dm.StartRunTime(); Task.Run(() => { dm.ConLog("开始执行..."); RunCode(); dm.ConLog("执行完毕..."); dm.ShowRunTime(); }); Console.ReadLine(); dm.StopRunTime(); }