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 Formatting Output

i have no idea how to do this

I've watched all of the videos and done all of the tasks. Someone help.

CodeChallenge.cs

1 Answer

Allan Clark
Allan Clark
10,810 Points

Looks like nothing came through in that code block can you try to repaste your code there?

As far as the challenge, this is linked to asking you to declare a variable and initialize it to whatever comes from the Console. This can be done all in one line. Keep it up :)

var firstName = Console.ReadLine();