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 Say Hello!

The challenge did not work for me whether I typed the whole code or simply wrote "Hello "

class CodeChallenge { static void Main() { System.Console.Write("Hello " ); } }

& "Hello "

System.Console.Write("Hello ");

1 Answer

Steven Parker
Steven Parker
229,981 Points

It looks like you have a stray space in your string.

The challenges are very picky about expected output strings, and the extra space at the end of yours is probably causing your output to be considered incorrect. Take out that space and I'll bet you pass!