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

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

You are very close.

store it in a variable named bookTitle.

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

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

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.