Judging by the debugger and the "threads" window, both constructs below lead to the same consequences. If we use a non-blocking wait on a worker thread, then it can take up other operations. But what if we use non-blocking wait in the main method, as far as I know the main thread can only execute the main method and cannot switch to other operations outside of this method.
Question: What is the benefit of using a non-blocking wait instead of a blocking wait in the main method?
//await Task.Delay(int.MaxValue); //Main Thread System.Threading.Monitor.Wait
Task.Delay(int.MaxValue).Wait(); //Main Thread System.Threading.Monitor.Wait