This question already has an answer here:
Is there a way to edit text in a C# console application? In other words, is it possible to place pre-defined text on the command line so that the user can modify the text and then re-submit it to the app?
This question already has an answer here:
Is there a way to edit text in a C# console application? In other words, is it possible to place pre-defined text on the command line so that the user can modify the text and then re-submit it to the app?
Yes. You need to use method SetCursorPosition of Console. Example:
It will display 'hell' You need custom realization of ReadLine method which let you to edit n-symbols (default string) in Console and return string from a user. This is my example:
This method will display string Default. Hope I understood your problem right (I doubt in it)
One thing that came to my mind is to...simulate keystrokes. And a simple example using SendKeys:
NOTE: This works only on active window.