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/

Note:

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!

Niels Klom
Niels Klom
5,872 Points

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.

Regards

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.

https://teamtreehouse.com/library/creating-your-first-aspnet-mvc-website

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 Shuryn
Thatcher Shuryn
383 Points

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