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!

Shawn Jass
Shawn Jass
7,151 Points

Bummer! Look at what you typed between the parentheses. Did you include double quotes?

Why am I getting this error?

CodeChallenge.cs
System.Console.Write();

1 Answer

Pablo Rocha
Pablo Rocha
10,142 Points

Hi Shawn! The Code Challenge is asking you to output "Hello" onto the console. Looks like you forgot to pass the text into the Write method.

Try this:

System.Console.Write("Hello");