0
10
{
await Task.Delay(100);
Console.WriteLine($"x = {x} y = {y}");
}
The code in this block will create a new task that will wait for 100 milliseconds before continuing. Once the task has completed, the code will print out the values of x and y.
Shortcut: fa2
fa2
0 Comments
public async Task Func(x x, x x) { }