|
-
September 17th, 2002, 10:55 PM
#1
Cursor Position in a DOS Console Application
How do I get the user input line to be entered on the same line as a question being asked?
EX:
Console.WriteLine("Input a number:");
number = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("The number that you entered was {0}", number);
If I run this simple example, my Blinking cursor is on the next line below waiting for the user input. Just wondering how I can get it on the same line. Thanks!
APASuper8
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|