C# C# Basics (Retired) Console I/O Say Hello!

Greg Patten
Greg Patten
243 Points

A little confused...

I'm on the first objective, I came up with this code:

System.Console.Write("Hello: ");

is that not right?

Thanks, Greg

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

2 Answers

andren
andren
28,384 Points

Challenges are very picky about text output. They asks you to print "Hello" and expect you to print that exact message and nothing else.

The colon and space in your message is enough for it to not be an exact match with the message they asked for. If you print out "Hello" without those then your code will pass.

Greg Patten
Greg Patten
243 Points

Thank you for your help