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 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
228,978 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,058 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");