这些函数调用之间是否存在任何功能差异.
方法一:
public static void PrintMe(object obj) { Task task = new Task(() => { Console.WriteLine(obj.ToString()); }); task.Start(); }@H_404_5@方法2:
public static void PrintMe(object obj) { Task task = new Task((object arg) => { Console.WriteLine(arg.ToString()); },obj); task.Start(); }@H_404_5@