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 trialJacob Gildner
258 PointsDid you forget to pass `firstName` to `WriteLine` as a parameter? I don't understand what it means.
I am having trouble understanding what it means
string firstName = Console.ReadLine();
Console.WriteLine("you've entered"+ firstName + "firstName");
2 Answers
Antonio De Rose
20,885 Pointsplease action your answer, just exactly to what the question ask
string firstName = Console.ReadLine(); Console.WriteLine("you've entered"+ firstName + "firstName"); //challenge 2 asks you to print only the contents of the firstName //challenge 3 asks you to print the contents of the firstName followed by the word " rocks!" -- don't forget space
Steven Parker
231,269 PointsHi, I got your request. And I agree with Antonio, to avoid confusing the validator, always do just what the instructions ask for. You got too fancy here and concatenated a couple of strings before the challenge asked you to.
To pass task 2, write only the contents of "firstName".