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 trialRahul Gupta
667 PointsIs it possible to transfer the code from Work Space to VS ?
I understand that Workspace is a common platform and may be easier for learning without haveing to install any IDEs on my system , but does that actually help ? I guess my concern is that once i write a code in WS , how would i be able to transfer the code to VS , i dont think WS is whats used in the real world . I am just starting off with OOP in c# and the instructor created 6 classes with just a click of a button , i dont think it works that way in an IDE , so how does that help ? I am a beginner and may be wrong but hoping i will get some guidance here .
Thank you
4 Answers
Hugh Veal
3,250 PointsYou can duplicate the classes from Workspaces, but you will need to do so manually. That means typing or adding the needed Directives (using Statements at the top), and then the coding is identical to what you will find in Workspaces, in most cases. You may run into a few issues when you copy the code into the IDE, but if you Google the answer to the errors that appear, you will be learning and fixing code at the same time, which is something most programmers do.
Rahul Gupta
667 PointsThank you , so is it recommended to code and learn on WS and deal with the transfer later on? or is it better to try and work directly on VS ?
Hugh Veal
3,250 PointsThe Workspaces are is for practice, so they take all of the aggravating steps out of the process. When you decide to go to the IDE to do the same type of project or use the same functionality, the steps that Workspaces takes care of become the things you will need to do manually. So classes will need to be created instead of them just being there for you. Also the directives will need to be added manually.
Daniel Tkach
7,608 PointsFor what I understand, you will use Workspace mostly to practice while you are taking the courses. It is not actually a tool that you would use for a real project, it's just to make it easier to study the lessons. I don't think Workspaces gives you the executable file either, so, it's only for study, not for real coding.
Rahul Gupta
667 PointsThank you guys this really helps. :)