All courses / C# Basics for Game Makers / Your first program

The editor and the console

Demo lesson, about 2 min, +25 XP

In the last lesson you pressed Run. Now look at the three parts of the screen you will use in every lesson. Together they let you build the front door of Dungeon of Dawn, one line at a time.

The editor is where you type code. You write your C# here, one line at a time.

Read the rest of this lesson and run the code in your browser.

Previous: What is a programming language?   Next: Hello, World!

© 2026 Xero Media LLC. All rights reserved.