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 Start Coding

Kasper Delfs
Kasper Delfs
802 Points

<SOLVED> Can't get System.Console.Write to print anything. (My changes are saved and the code is double checked).

Im doing this course to sum up my experience with c# in school, but for some reason workspace won't allow the System.Console.Write("Enter how many minutes you exercised: "); to print anything. To run the program i wrote as shown in the video: mcs Program.cs ls (now it did as shown in the video an created an exe file). mono program.exe but then nothing happens besides a new line with treehouse:~/workspace showing up.

2 Answers

Kasper Delfs
Kasper Delfs
802 Points

it seems to be working now. Im afraid i can't tell why but it now accepts what it didn't before.

Carey LaMothe
Carey LaMothe
5,312 Points

I am experiencing the same thing with out resolution. Why doesn't it work?