How to compile and execute C# programs on Linux?

CsharpProgrammingServer Side Programming

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.

Published on 21-Aug-2018 11:45:08