I have a very simple console app.
static void Main(string[] args)
{
DoAsync();
Console.ReadKey();
}
Here DoAsync
starts set of task and returns not waiting for tasks' completition.
Each task writes to Console, but the ouptut is not shown before key is pressed.
When I use Console.ReadLine
everything works fine.
So I'm curious about ReadKey()
pecularities.