#969 – Creating a Simple Console Application

You’ll most often create applications that have some sort of user interface, e.g. web applications, Windows Store apps, or desktop applications.  You may also create components using C# that have no user interface at all, e.g. class libraries.

For testing purposes, however, it’s helpful to create a simple application that can read from or write to a console window.  The console window appears as a window with a dark background when you run the application.  It can display text one line at a time, or read text entered by the user.  As new text is added to the bottom of the window, earlier text scrolls off the top.


You create a console application using Visual Studio by selecting the Console Application template when creating a new project.


You read from or write to the console using methods in the Console class, e.g. ReadLine and WriteLine.

About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

2 Responses to #969 – Creating a Simple Console Application

  1. Pingback: Dew Drop – November 7, 2013 (#1662) | Morning Dew

  2. Pingback: #971 – Reading a Line of Input from the Console | 2,000 Things You Should Know About C#

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: