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

Matthias Smartt
Matthias Smartt
186 Points

Do not get this

I do not get what I am being asked to do.

CodeChallenge.cs
System.Console.Write("Enter a book title: ");
string entry = System.Console.ReadLine(); 

2 Answers

Henrik Christensen
seal-mask
.a{fill-rule:evenodd;}techdegree
Henrik Christensen
Python Web Development Techdegree Student 38,322 Points

You are very close.

store it in a variable named bookTitle.

System.Console.Write("Enter a book title: ");
string bookTitle = System.Console.ReadLine();
Matthias Smartt
Matthias Smartt
186 Points

Thank you, i dont think i would have gotten it.

Steven Mandau
Steven Mandau
2,563 Points

Yeah it kind of sucks, when you know your code is doing the right thing, but the challenge asks you to use specific names. So make sure to carefully read the instructions and sometimes it really helps to take a short 5 minute break. This is especially true, when the code gets more complicated. It's common to get caught up with your thoughts and you are not seeing obvious/easy mistakes any more.