//分批处理
int skip = 0;
int takeSize = 1000;
int totalCount = List.Count();
List<Task> taskList = new List<Task>();
while (skip < totalCount )
{
var batchList = List.Skip(skip).Take(takeSize).ToList();
var task = new Task(() =>
{
//要处理的数据逻辑。。。
});
taskList.Add(task);
task.Start();
skip += takeSize;
}