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#

Hi guys

hi Guys I have a problem I can't run the Program in Windows like mac I mean in mac I wrote "mcs Program.cs" then " ls " then "mono Program.exe" //put in windows I don't know what I have to Do to run it. please answer

Mathew Tran
Mathew Tran
Courses Plus Student 10,205 Points

You may have to download the mono compiler on your PC: http://www.mono-project.com/download/

Once you go through the installation guide: http://www.mono-project.com/docs/getting-started/install/windows/

You should be able to startup the mono command prompt, you should be able to use the same commands as you have done in workspaces.

Keep in mind that you will have to cd to your working directory with your files OR explicitly specify the full paths of the files you want to compile and run.

Matt.

Thank you so much "Mathew Tran"