怎么变丑
Task t1 = new Task(() => {
for (int i = 0; i < int.MaxValue; ++i) {
Console.WriteLine(i);
}
});
到更可口的东西,例如
Task t1 = new Task(() => {
for (int i = 0; i < int.MaxValue; ++i) {
Console.WriteLine(i);
}
});
在 Resharper?
谢谢