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) Prepare and Plan Workspaces

Zubair Siddique
Zubair Siddique
4,889 Points

Where to write C# code if not on Workspaces?

We use Sublime Text, or Notepad++ or Brackets. Can we use them for writing C# code?

If not, where to write code?

unity making games and thing

Unity is c# usable

Brackets works fine for C# code, just end your file name with a .cs suffix, or just make a file and down on the bottom bar select C# instead of text.

6 Answers

Ferdinand Pretorius
Ferdinand Pretorius
18,705 Points

Visual Studio Express is Microsoft's free version: http://www.microsoft.com/express/windows/


There are many ways to write c# and without getting into the editor 'wars', I listed this because of the nature of the question. I feel like you still have a lot to learn and by the time you have learned more basics - core , you will probably already have a good idea of what text editor you want to use.

Hope this helps!

Just a question, I am a JS developer and use VSCode. Will that also do the job for C#? I have to write .net for my job.

Ferdinand Pretorius
Ferdinand Pretorius
18,705 Points

Hi Niels,

Yes it will. This article might give you some more information on the matter( https://code.visualstudio.com/Docs/languages/csharp ).

I'm afraid I don't use it myself so have limited knowledge on the matter. Might be working asking in the general discussion section.


Joseph Casey
Joseph Casey
6,782 Points

@Niels Klom, I'm sure you've found this out by now. However, most C# development will be done through Visual Studios. However, a new course that opened shows alternatives you might consider.

Particularly, that course covers Active Server Pages .Net (ASP.Net), which you had mentioned wanting to learn.


There is an online code editor called Repl.it that you can use to write C# code. There is a wide array of other programming languages that you can experiment with.

Happy Coding.

If you click on the "Teachers Notes" tab at the bottom of this video, he has posted a link to another video showing you how to setup and use Visual Studio which works great for C#.

Thatcher S.
Thatcher S.
383 Points

Visual Studio is a nice, full featured IDE. Plus, it's free!