正如一些人在.NET 4.0中看到的那样,他们已经添加了一个新的命名空间System.Threading.Tasks,它基本上就是手段,一个任务.使用ThreadPool我只使用了几天.
System.Threading.Tasks
哪一个更有效,资源消耗更少?(或者总体上更好?)
c# task threadpool
c# ×1
task ×1
threadpool ×1