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 Receiving Input

Delaine Teddy R Ndau
Delaine Teddy R Ndau
3,437 Points

how do i open a new file program.exe and how do i save what i have already done

i have finished the first part and i want to save

1 Answer

Steven Parker
Steven Parker
229,644 Points

I assume you're using the workspace for this course. Anytime you make changes in the editor, you can save your work by selecting "save" from the "file" menu, or by typing Ctrl-S as a shortcut.

You won't need to "open" program.exe except to run it. For that, you can type this command into the console:

mono program.exe

You can see the instructor doing this at about 4:45 in the video.

Note that in the video, the file is named "Program.exe" (with a capital "P"). Be sure to use your actual file name.