what is the console

Okay, I'm done trying to figure this out.  What is the console?

What does console.writeline do -- where does it write?
What does console.readline do -- what does it read?

I'm using VB.Net 2003

Big points hoping for a thorough explanation.

Thanks ...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

These functions are used in a Console application, which runs in Command (DOS) Window, or Console. Console.WriteLine writes new text line to the Command window. Console.ReadLine reads line of text from the Command window. User must type some text and press Enter to complete this command.

Dim s as String
Console.WriteLine("Please enter your name")
s = Console.ReadLine
Console.WriteLine("Your name is " + s)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike TomlinsonMiddle School Assistant TeacherCommented:
For a WINFORMS app:

    Console.WriteLine() outputs to the Debug window.
    Console.ReadLine() does nothing as far as I know...
g_johnsonAuthor Commented:
AlexFM -- so you basically write a .Net application and create an exe that is designed to be used in the command window?  When would you choose that over a WINFORMS app?
When you want to write command line utility. For example, you write some command line tool which can be used by system administrator for running inside batch files.
In most cases we make Windows applications with user interface, but command line tools still exist and used.
Console applications are also used to test some ideas and algorithms, when we don't want to waste time building user interface.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.