I am working on a console application that has some data already written into it.
Let's say following data is written inside my console application,
This is the data written in Console Application at the start of Console Application
Now, I want to read this data inside C# Variable. Let's suppose I want to read something available at coordinates (2,0) which will be in this case 'i'.
Just like i am able to write into console after setting the cordinates by using the following code,
Console.SetCursorPosition(5, 6);
Console.Write("Test Data");
In similar way, how can i read this data?