Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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