Chapter 1: Creating Your First C# Console Application

In This Chapter

check.png Getting a quick introduction to programming

check.png Creating a simple console application

check.png Examining the console application

check.png Saving code for later

In this chapter, I explain a little bit about computers, computer languages — including the computer language C# (pronounced “see sharp”) — and Visual Studio 2012. Then I take you through the steps for creating a simple program written in C#.

Getting a Handle on Computer Languages, C#, and .NET

A computer is an amazingly fast but incredibly stupid servant. Computers will do anything you ask them to (within reason); they do it extremely fast — and they’re getting faster all the time.

Unfortunately, computers don’t understand anything that resembles a human language. Oh, you may come back at me and say something like, “Hey, my telephone lets me dial my friend by just speaking his name. I know that a tiny computer runs my telephone. So that computer speaks English.” But that’s a computer program that understands English, not the computer itself.

The language that computers truly ...

Get C# 5.0 All-in-One For Dummies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.