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!
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
Dagur Freyr GuðbrandssonFront End Web Development Techdegree Student 2,379 Points
Been stuck on this ?
string firstName = Console.ReadLine(string recipient)
Jason AndersTreehouse Moderator 145,855 Points
You are on the right track and very close. The only issue is that the
Console.Readline() method does not (actually cannot) take any parameters. So, just fix that up and you're all good to go.
string firstName = Console.ReadLine();
Keep Coding! :)
You're pretty close. If you remove the parameter string recipient in the Console.ReadLine() you will pass the task.
The input is passed into ReadLine() from what you enter on your keyboard so it does not take any parameters.