Can C# Code Run on Linux?
Contents

So as long as your code is compatible with one of the aforementioned frameworks; yes, you can run it on Linux. For your specific example, the classes you mention should be supported, and I don’t think you’ll have any trouble running under either Mono or . NET Core.

Is it possible to run C# on Linux?

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. You can now develop server applications on Linux using C# (. NET Core framework), like you can use Java or Python.

Is C# good on Linux?

NET Core, C# code runs about as fast on Linux as Windows. Maybe a few percent slower on Linux. … There are some compiler optimizations that are better on the Windows side, and so C# might run a little faster on Windows, but the performance is essentially the same on both platforms.

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest