Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics (Retired) Prepare and Plan Program Structure

C# question

what is the difference between windows form application and console application? In my course the book is teaching from windows form application.

2 Answers

The main difference is that console applications don't have user interfaces and are run in the Command Prompt while Windows Forms applications do have user interfaces (Buttons, ListViews, etc).

what is the command prompt?

A pretty general definition would be

Command Prompt is a command line interpreter application available in most Windows operating systems. Command Prompt is used to execute entered commands. Most of those commands are used to automate tasks via scripts and batch files, perform advanced administrative functions, and troubleshoot and solve certain kinds of Windows issues. Command Prompt is officially called Windows Command Processor but is also sometimes called the command shell or cmd prompt, or even referred to by its filename cmd.exe.

But I think a screenshot would help you understand what it is easier.

Command Prompt

The Command Prompt is a command line interpreter application available in most Windows operating systems.