Lesson 2.1 The Executive command

This is the simplest of the bunch. You have seen this in action already. It is a line of code that simply tells the computer to do something.

As I’m incredibly lazy, I shall wheel out an earlier executive line of code I have shown you. It is the line of code that output the “Hello World” text to the output. It is the type of line that is frequently self explanatory.

  System.Console.WriteLine("Hello World");

In C#, executive commands are ended with a semi-colon. When you first start coding, this will constitute the majority of your bugs. Neglected semi-colons will be the bane of your life.