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

Calin Bogdan
Calin Bogdan
14,615 Points

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?

Calin Bogdan
Calin Bogdan
14,615 Points

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.