閉包Closure

先貼代碼: for (int i = 0; i < 10; i++) { System.Threading.ThreadPool.QueueUserWorkItem((o) => { Console.WriteLine(i); });
相關文章
相關標籤/搜索