c# async await 理解

寫兩個方法 第一個 List<int> list = new List<int>(); int i= 0; do { i++; list.Add(i); } while (i< 10); Console.WriteLine("開始執行時間:" + DateTime.Now.ToString()); Parallel.ForEach(list, async item => {
相關文章
相關標籤/搜索