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!
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
Dominick McCleary3,012 Points
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?
Steven Parker225,769 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.