How to compile and execute C# programs on Linux?


To compile and execute C# programs on Linux, firstly you need to IDE. On Linux, one of the best IDEs is Monodevelop.

It is an open source IDE that allows you to run C# on multiple platforms i.e. Windows, Linux and MacOS. Monodevelop is also known as Xamarin Studio. It has a C# compiler to run C# programs.

Monodevelop has the following features −

  • Multi-platform IDE − Supports Linux, Windows and macOS.

  • Supports multiple languages − MonoDevelop supports multiple languages such as C#, F#, Visual Basic .NET, etc.

  • Integrated Debugger − It comes with an integrated debugger for debugging Mono and native applications.

  • Code Completion − Code completion support for C#, code templates, code folding.

Updated on: 22-Jun-2020

950 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements