×

c# · level 1 · unit 1 · lesson 1

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

is a list of instructions for a computer.

Code is instructions written down for a computer. A set of instructions that does one job, like a recipe for breakfast, is called a . When you a program, the computer starts following it.

The computer follows every line exactly, from the top down. It never guesses what you meant. We will write our code in C#, said see sharp, a language that people and computers can both read.

The first line, using System;, brings in a of ready-made commands. It holds Console, the tool that shows words on the screen. Your own instructions go underneath, after a blank line.

using System;

Console.WriteLine("Hello!");

Press run and the computer says Hello! back to you, because line 3 is your instruction.