C# Thread.Join();Thread.Abort();
Join() 等待当前线程运行完成后,才继续执行主线程后续代码;Abort() 结束当前线程,继续执行主线程后续代码;Thread.Join();static void Main(string[] args) { Console.WriteLine("Starting program..."); ...