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#

Kirk Findley
PLUS
Kirk Findley
Courses Plus Student 746 Points

Is there any classes that teach C# using Visual Studio 2017 and not he built in code app?

Intro into C#

Jesper Henriksen
Jesper Henriksen
3,308 Points

Of course you can use Visual Studio, I just think the presenters want to avoid the additional confusion of setting it up at first.

  1. Create a new C# console App in visual studio.
  2. open the solution explorer on the right and right click your project and click "Add" --> "Existing items"
  3. Browse the work space folder you downloaded and select the .cs files you want to add.
  4. Delete "Program.cs" from your project.
  5. Now you're ready to use Visual Studio for your coding endeavors :D

Be wary that when he runs the .exe file from the CLI in the video you have to "Start without debugging" from the "Debug" menu as it otherwise closes the window as soon as the program finishes.

Kirk Findley
Kirk Findley
Courses Plus Student 746 Points

I understand at my job I am a front-end developer and we mostly use VS IDE 2017, It more confusing to use a IDE that in the real world are not using. I am looking to learn more back end and want to use C# with VS 2017 IDE.

Do you have videos or are you going to have step by step classes that use VS 2017 in C#? To me, that makes so much more sense because both are Microsoft products.

2 Answers

Jesper Henriksen
Jesper Henriksen
3,308 Points

Perhaps you should take a look at this series of videos about Visual Studio, once they're done you can follow my guide above for setting up your C# course in Visual Studio. I have not had any problems following the videos while doing it in Visual Studio myself.