Код: Выделить всё
static async Task Main(string[] args)
{
Console.WriteLine("Hello, World!");
MyMethodAsync();
int i = 0;
while (i
Подробнее здесь: [url]https://stackoverflow.com/questions/79655731/async-await-unexpected-behaviour[/url]
Код: Выделить всё
static async Task Main(string[] args)
{
Console.WriteLine("Hello, World!");
MyMethodAsync();
int i = 0;
while (i
Подробнее здесь: [url]https://stackoverflow.com/questions/79655731/async-await-unexpected-behaviour[/url]