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

string bookTitle = System.Console.ReadLine();

Task 2 show Bummer.

CodeChallenge.cs
string bookTitle = System.Console.ReadLine();

2 Answers

Samuel Ferree
Samuel Ferree
31,721 Points

Can you post the description for task 1? My enrollment is paused and I can't see the challenge.

I don't see anything immediately wrong with your code.

Use the System.Console.ReadLine method to read the user’s response from the console and store it in a variable named bookTitle.

Samuel Ferree
Samuel Ferree
31,721 Points

My bad, I should have said "All tasks" If task 2 shows bummer, the problem might be there.

I think everything is ok with the code, idk why its showing an error message...

I done it. It seems that I had to left there code from task 1. Thanks for help.

Samuel Ferree
Samuel Ferree
31,721 Points

Ah yes, the challenges are usually set up so that each task builds upon the previous.