标签:code adl fir continue oid div col ring str
static void Main(string[] args) { Task firstTask = Task.Run(() => { PrintPlus(); }); Task secondTask = firstTask.ContinueWith(x=> { Console.WriteLine("\n"); PrintMultiply(); }); Console.ReadLine(); } static void PrintPlus() { for(int i=0;i<1000;i++) { Console.Write("+\t"); } } static void PrintMultiply() { for(int i=0;i<1000;i++) { Console.Write("*\t"); } }
标签:code adl fir continue oid div col ring str
原文地址:https://www.cnblogs.com/Fred1987/p/11827901.html