Reputation: 6280
Question is simple.
When I use -
Console.ReadLine()
The next thing printed on the console will on the next line.
Is there any way to continue printing on that line?
Thanks in advance.
Upvotes: 3
Views: 10243
Reputation: 33657
You can try:
var s = Console.ReadLine();
Console.CursorTop--;
Console.CursorLeft = s.Length;
Console.WriteLine("Hello");
Upvotes: 0
Reputation: 1545
Please check,
Console.Read();
This would not cause new line or line break.
Upvotes: 6