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 trialRyan Anderson
630 PointsCan't get around the CS0103 error.
I wrote mine exactly like his, but it keeps giving me the error that "the name 'system' does not exist in the current context." Which it clearly does.... sooo is there a bug?
4 Answers
Ken Alger
Treehouse TeacherRyan;
Welcome to Treehouse!
Are you using system
or System
? Capitalization makes a difference.
Happy coding,
Ken
Ryan Anderson
630 PointsSystem.Console.Write("Enter how many minutes you exercised: ");
Not sure how to post a link to the workspace... but here's the code they wanted.
Maybe https://w.trhou.se/rtvvm6aeqx is it??
Ryan Anderson
630 PointsNevermind, I ended up re writing the script on the framework "given" with the workspace. I would probably make sure there isn't more errors in any other scripts. This one was easier to find... but man... kinda ironic.
Thanks anyways though.
Zeljko Porobija
11,491 PointsIn my view, the best thing would be to install Visual Studio and then to write and run the code in the video. It is not difficult to manage this in the Visual Studio. It takes some time to install it, but ... C# is unthinkable w/out Visual Studio.
Ryan Anderson
630 PointsRyan Anderson
630 PointsI quite literally wrote everything EXACTLY as it was given in the instruction. The spaces, capitalization, and symbols are all the same.
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherRyan;
Post the code you are using, or a link to your workspace for people to take a look at your code.
Thanks,
Ken