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 trialSwynn Wynn
186 Pointshow to write a System.Console.Readline() from a response from the write method saying "enter the name of the book title"
System.Console.Write("enter the book title name: "); how to reply from this with the System.Console.readline()?
System.Console.Readline()
string bookTitle =
1 Answer
Steven Parker
231,248 PointsIt looks like you have the right idea, but need to rearrange things a bit.
Try re-ordering your lines so that the the variable being assigned comes first.
Also, It looks like you removed the code from task 1. The task 1 code should stay, and the new code will be added after it.
Finally, be sure to spell "ReadLine" using a capital "L".