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 Variables

Hector Avellaneda
Hector Avellaneda
853 Points

Important Tip

The "important tip" indicates that we should be adding to the code from the previous challenge, however the code from the previous challenge did not carry over? Am I supposed to be keeping track of this code in a separate workspaces file?

When I opened to this task it was completely empty and nothing I do seems to compile.

I even tried pasting the current code from my workspaces file and renamed the 'string' to 'bookTitle', but that did not work either.

I am stuck.

CodeChallenge.cs

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! What they mean is that when you move through the challenge the previous code that you wrote in the challenge will be carried to the next step. This has nothing to do with workspaces. Workspaces are completely independent of challenges. So yes, when you first open this challenge it will be completely blank. You said that you renamed the string to bookTitle. Now, I'm not sure exactly what you typed, but this is what the first step is looking for:

string bookTitle;

Hope this helps! :sparkles:

Hector Avellaneda
Hector Avellaneda
853 Points

Thank you for the help, Jennifer. I was definitely over thinking this step, but this certainly helped. Many thanks! :)