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 trialAnne Donald
9,847 PointsError When trying to execute file
I'm typing the following code as per the video:
class Program { static void Main() { // Prompt the user for minutes exercised
System.Console.Write("Enter how many minutes you exercised: ");
string entry = System.Console.ReadLine();
// Add minutes exercised to total
// Display the total minutes exercised to the screen
// Repeat until the user quits
}
}
And got the following result when I mono Program.exe in the console: ;1;1R
2 Answers
Steven Parker
231,248 PointsCongratulations on resolving your issue.
Hopefully any future ones will not be so mysterious.
Anne Donald
9,847 PointsMe too!
Anne Donald
9,847 PointsHi Steven
Thank's for your quick reply! I came out of it completely and I was going back in to take a snapshot and now it's working? It's obviously something I must have done.
Thanks Again Anne
Steven Parker
231,248 PointsSteven Parker
231,248 PointsOdd, it looks like you should have seen the prompt message. You compiled it again (using
mcs
) after saving, right?To enable a more complete and accurate analysis, make a snapshot of your workspace and post the link to it here.