why this method doesn't output anything? I did the same thing with the threads and it worked but this way doesn't wok. Do am I missing something?
foreach(var i in arr) await Task.Run(() => { Task.Delay(i * 100); Console.WriteLine(i); });