All courses / C# Basics for Game Makers / Your first program
Printing a line
Challenge lesson, about 8 min, +20 XP
The first thing a player sees at the gate of Nico's tower is a welcome sign. Someone typed that sign on purpose, and every letter has to be right. You already own the tool for the job: Console.WriteLine. This lesson is about the text you put inside it.
C# does not proofread. Whatever sits between the quotes goes to the screen as is: every letter, capital, space and punctuation mark. If you typed dungeon and meant Dungeon, the player gets dungeon.
Read the rest of this lesson and run the code in your browser.