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

Niomi Consten
Niomi Consten
1,587 Points

I keep getting the error: cs0103: The name 'console'does not excist in the current context.

The error appears even though i copy paste the code in the editor. I think something is wrong with the workspace...

Can you show your code? That is the only way to tell you how to fix this.

3 Answers

Erdem Yeşiltaş
Erdem Yeşiltaş
2,562 Points

Write "Console" with capital 'C' :)

Andre Kucharzyk
Andre Kucharzyk
4,479 Points

I have the same problem. I've written "Console" and still get error when i want to compile my code: https://w.trhou.se/ix4jeh18it

Rasmus Hall
Rasmus Hall
1,260 Points

write console with a capital C and have you remembered writing

using System;

in the beginning? if not you have to type System.Console