Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Use the System.Console.Write() method to print "Enter a book title: " to the console.

task 1 of 2

CodeChallenge.cs
system.console.Writeline("Enter a book title");

2 Answers

Steven Parker
Steven Parker
221,451 Points

You entered "system.console.Writeline", but the instructions specifically ask you to "Use the System.Console.Write() method "

And FYI, even if it wasn't being specific, the C# language is case-sensitive, so identifiers are only recognized when spelled with the correct capitalization.

Also, once you get that fixed, the challenge will give you another hint, but here is a preview: "Make sure to use the exact message from the instructions. Note the trailing space. Copy/paste if you like!"

HIDAYATULLAH ARGHANDABI
HIDAYATULLAH ARGHANDABI
21,030 Points

the console C should be in capital letters. try to use visual studio it will help you with its built in intelisense technology

Console.Writeline("Enter a book title");