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

Hello, World!

Demo lesson, about 7 min, +25 XP

Now you write a program yourself. A program is a list of instructions that the computer follows. Every piece of Dungeon of Dawn starts the same way, with a line that puts words on the screen. Your first program has just one instruction.

Console.WriteLine shows one line of text in the console. The words you want to show go inside double quotes. A semicolon ; finishes the line, a bit like a period.

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

Previous: The editor and the console   Next: Printing a line

© 2026 Xero Media LLC. All rights reserved.