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 "

CodeChallenge.cs
System.Console.Write("Hello ");

1 Answer

Steven Parker
Steven Parker
174,085 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!