Answer the question
In order to leave comments, you need to log in
How to terminate Console.Readline when an event occurs?
Hello!
JAP - C#. I am creating a console application.
Problem: the application requires the user to enter some data, respectively, the main thread is blocked. At this point, some event may occur in the application that should terminate the I/O stream from the waiting Readline. How to do it right? Thanks in advance
Answer the question
In order to leave comments, you need to log in
https://stackoverflow.com/questions/57615/how-to-a...
https://metanit.com/sharp/tutorial/12.5.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question