错误:无法从system.thread.tasks.task转换为 system.action
Task A = Task.Run(() => Filecopy.COPY_F(txtpatterns.Lines, txtsourcepath.Text));
Task B = Task.Run(() => Unzip.Data(Filecopy.zipfilepath));
Task C = Task.Run(() => GIO_LOad.Data(Unzip.GIOlist));
Task t = null;
t = Task.Factory.StartNew(() => A
.ContinueWith(B)
.ContinueWith(C),
TaskScheduler.FromCurrentSynchronizationContext()));
我试图逐个运行这些任务,因为任务B将从任务A获得List<string>
而任务c将从任务B获得字符串列表。