

Interested in developing C# applications on and for Linux? This article explains how to setup a full-featured C# development environment. It consists of the Visual Studio Code editor and the. NET Core SDK, needed to develop and run C# applications on Linux. Last week I worked on a project, which involved developing software in C#. I heard about C#, but never actually coded in C# before this project. It surprised me how quickly I found my way around the C# programming language. As a true Linux aficionado, I wondered: “Can I develop C# software on Linux”? C# feels like it combines all the good things of Java and Object Pascal, mixed with the familiar syntax of C. Combined with the Visual Studio Code editor and its C# extension, you can setup a wonderful C# development environment on Linux. NET Core developer platform includes tools, libraries and a runtime environment needed to develop and run C# applications. Note that if you just want to run C# applications, you do not need the entire. In this article you learn how to install the Visual Studio Code editor and the. To open it via the terminal directly, type in the. This is it once the installation completes, you can open Visual Studio Code from the terminal or the Applications menu. NET SDK, allowing you to develop C# applications for Linux. To install the Visual Studio Code snap package, open the terminal and type the following command to kickstart the installation process: sudo snap install -classic code. To the point that you build, run and debug it.Īfter completing the installation steps, I’ll also show you how to create a basic “Hello World” console application. The only thing you need, while working your way through this article, is a Linux system with desktop environment. It can be an actual PC or a virtual machine.

Personally, I prefer trying things out on a virtual machine first. For this reason I decided on using Ubuntu 20.04 Budgie, running as a virtual machine in VirtualBox. This means the instructions target Ubuntu 20.04.
