📅  最后修改于: 2022-03-11 14:48:57.085000             🧑  作者: Mango
代码示例1
task.Start();
Console.WriteLine("This is the main thread.");
int sum = task.Result;
Console.WriteLine("The result from the task is {0}.", sum);