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

string bookTitle = System.Console.ReadLine();

Task 2 show Bummer.

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

2 Answers

Samuel Ferree
Samuel Ferree
31,722 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,722 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,722 Points

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