All courses / C# Basics for Game Makers / Your first program
Predict the output
Predict lesson, about 12 min, +15 XP
A bug in the title screen greets every player who opens the game. Good coders catch a bug like that by reading the code and seeing the output in their head before they press Run. It costs nothing, and this lesson is practice for that skill.
Treat the program like a very slow game turn. Start at the first line and do exactly what it says, then move to the next one. Keep two things in your head: the text printed so far, and where the cursor is waiting.
Read the rest of this lesson and run the code in your browser.