Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics (Retired) Console I/O Start Coding

In ("Enter the number of minutes you exercised: "); why is there a space between the colon and Quote mark?


1 Answer

Steven Parker
Steven Parker
229,017 Points

It looks nice on the screen.

The space is just so the answer you type won't start right against the colon. It's very common when issuing a prompt for input on the same line to have a space (one or more) as the last character of the prompt.