using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { Parallel.Invoke(() => { Thread.Sleep(1000); Console.WriteLine("一秒后执行完成"); }, () => { Thread.Sleep(1000); Console.WriteLine("一秒后执行完成"); }, () => { Thread.Sleep(1000); Console.WriteLine("一秒后执行完成"); }); Console.Read(); } } }