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# Objects Loops and Final Touches Putting It All Together

lost some code.

I accidentally deleted the exceptions.cs script and i don't know what it should hold and i don't know how to go back to previous lessons to get the script for it. can someone please post what the script is?

1 Answer

Steven Parker
Steven Parker
231,236 Points

Was this something that was provided in a workspace?

If so, you can download anything from the workspace you might want to keep, then go to the Workspaces page and find that workspace and then delete it.

Then when you return to the course and launch the workspace, it will have everything it started with again (all at the initial condition). You can then upload anything you saved previously.

You could probably also get the file you need from the project files in the Downloads tab.