This may be completely impossible, but I was wondering if there is a way to read the values that the console has already printed. For example, if the console printed
You travel north at a speed of 10 m / s
as a result Console.WriteLine("You are travelling north at a speed of 10m/s");, is there a way to read this line, and then, for arguments, by putting this value in a line?
Basically, I need to read what has already been output to the console, not user input. Is there any way?
Thanks in advance.
source
share