Why Does C# Console Application Stop Running When Text is HIghlighted?
问题 I have a console application which acts as a Synchronous Server Socket to receive data from a Synchronous Client Socket on the same machine. After sending some data a few times from the Client to the Server I realize that if I were to highlight some text in the console, it would stop running code and the Client would not be able to establish a connection. I'd like to know the reason why this happens and if there is a way to make the code still run. 回答1: Essentially, the console is locked, to