E
E
Evgeny Petrov2020-11-18 20:19:07
Command line
Evgeny Petrov, 2020-11-18 20:19:07

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

1 answer(s)
V
Vladimir Korotenko, 2020-11-18
@kazsat

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 question

Ask a Question

731 491 924 answers to any question