Example call Console.WriteLine() from several threads — the canonical example vstrechalis on the Internet on every corner, as an illustration of multithreading. Therefore, the idea of blocking stdin and stdout is wrong.
On the other hand, perhaps ReadLine behaves differently. I agree with the previous comment — you need to make an infinite loop in a thread, and interactively work mostly.
Elroy_Conn54 answered on October 10th 19 at 05:26
To make the program logic in a separate thread, but mostly to work interactively...
Kathlyn.Lehn answered on October 10th 19 at 05:28
Delegates and invoke to help You, in fact You have the app with the "interface".
darron.Douglas answered on October 10th 19 at 05:30