Chapter 1
Creating Your First C# Console Application
IN THIS CHAPTER
Getting a quick introduction to programming
Creating and examining a simple console application
Saving code for later
Working online and in other environments
A console application is one that you run at the command prompt; it doesn’t rely on any sort of fancy GUI to provide a pretty interface. Console applications are useful for all sorts of utilitarian tasks, and many people with low-level computer knowledge prefer them because they’re extremely efficient to use. However, many people use console applications without even knowing it because console applications often play a role in configuration tasks. Because console applications are also easier to write than any other application type, you see them used quite often to demonstrate general C# (pronounced see-sharp) coding principles that really matter, like saying, “Hello World!”
Part of working with code is knowing how to perform basic tasks using the Integrated Development Environment (IDE). For example, you need to know how to create a new application and then ...
Get C# 10.0 All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.