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 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?