82 votes

Is knowledge of C# of any use in a Linux system?

Yes, you can develop software on Ubuntu, that itself will run on Ubuntu, in C#. Both Mono and .NET Core support GNU/Linux systems like Ubuntu. (You can use them on other distros, too, like Debian, ...
Eliah Kagan's user avatar
60 votes
Accepted

Is knowledge of C# of any use in a Linux system?

Most likely you will stumble upon http://www.mono-project.com/ As the About Mono page says: Mono, the open source development platform based on the .NET Framework, allows developers to build ...
Finn's user avatar
  • 1,426
22 votes

Is knowledge of C# of any use in a Linux system?

You can now develop server applications on Linux using C# (.NET Core framework), like you can use Java or Python. By server applications I mean web applications and web service (REST) applications ...
gorlok's user avatar
  • 322
19 votes

How can I compile, run and decompile C# code in Ubuntu terminal?

You need to install mono-complete if you want to run software for Mono or Microsoft .NET which you are not installing from a Debian package. Install mono-complete. In all currently supported versions ...
karel's user avatar
  • 115k
9 votes
Accepted

How can I compile, run and decompile C# code in Ubuntu terminal?

You can use mono which is C# implementation, having cross-platform support and is open source. Open terminal and install mono: For Ubuntu 20.04 (Stable) sudo apt install gnupg ca-certificates sudo apt-...
Sonevol's user avatar
  • 696
7 votes

Can I write programs in C# on Ubuntu?

You can develop C# applications on linux with .NET Core: https://www.microsoft.com/net/core After you install it, type dotnet new in your terminal to get a list of application templates which can be ...
ttt's user avatar
  • 543
6 votes
Accepted

Is C# installed on Ubuntu by default

Is C# installed on Ubuntu (by default)? No. C# is a programming language that is used primarily for Windows-based solutions. If you would like to develop with C# and the .Net Framework, you may be ...
matigo's user avatar
  • 22.1k
5 votes

Is there any native C#/C++ IDE similar to Visual Studio but more lightweight in Ubuntu?

Visual Studio Code will show up in Ubuntu Software application if you search for "vscode" or it can be installed from the terminal by running the command sudo snap install code --classic A ...
karel's user avatar
  • 115k
5 votes

WPF programming in ubuntu

I think you will not be able to find a IDE for .NET in linux that is as powerful as Visual Studio. I am using MonoDevelop, which is quite decent IDE. I have problems when debugging because watching ...
nobody's user avatar
  • 4,362
4 votes

Can I write programs in C# on Ubuntu?

You could use Visual Studio Code using apt: wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add - echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode ...
Gryu's user avatar
  • 7,559
4 votes
Accepted

IDEs for running C# programs in Ubuntu

Arguably this question might have been opinion-based when it was asked in 2017, but it's not opinion-based anymore. MonoDevelop was a good IDE for C# in Ubuntu when this question was asked, but it has ...
karel's user avatar
  • 115k
4 votes

How to run the C# program in ubuntu 14.04 using VS code?

install .NET Core, and try dotnet run: https://www.microsoft.com/net/core#ubuntu
Gábor Plesz's user avatar
4 votes
Accepted

C# on PlayOnLinux vs. Wine

C# code runs natively in Ubuntu. The terminal and MonoDevelop (monodevelop) from the default Ubuntu repositories is maybe all you need. MonoDevelop can be installed from the default Ubuntu ...
karel's user avatar
  • 115k
3 votes

Is knowledge of C# of any use in a Linux system?

Linux provides its native APIs in the C programming language. A native Linux program uses these APIs to access files, I/O devices, sockets (networking), inter-process communications, threading, etc. ...
Sasan's user avatar
  • 141
3 votes

Is knowledge of C# of any use in a Linux system?

You can now even do XAML based front end cross platform (Linux, Mac, Windows, Android, iOS, UWP) apps using .Net Core and a new project called Avalonia. Avalonia is in Beta, but works pretty well now....
Chris Bordeman's user avatar
3 votes
Accepted

How to add references with C#

I found a way to do it with mono: $ mcs -r:FortnoxAPILibrary.dll Program.cs;./Program.exe
Niklas Rosencrantz's user avatar
3 votes

Is there a script where I can convert ppt to mp4?

First, install the following packages: sudo apt update sudo apt-get install unoconv ffmpeg imagemagick Next, convert the ppt to pdf using the following command: unoconv -f pdf filename.ppt where you ...
mchid's user avatar
  • 43.5k
2 votes
Accepted

Ubuntu terminal not waiting for Console.ReadKey() input

You need to install mono-complete instead of Mono development tools (mono-devel) package if you want to run software for Mono or Microsoft .NET which you are not installing from a Debian package. ...
karel's user avatar
  • 115k
2 votes

Visual Studio Replacement for C#?

Xamarin, a developer for Mono, created MonoDevelop, which is an IDE for C# on Ubuntu. As far as I know, it can open VS projects. You can find it within the Synaptic Package Manager or Ubuntu Software ...
Walaryne's user avatar
2 votes
Accepted

How well supported is .NET on Ubuntu 14.04?

The new .Net on Linux you may have heard about is called .Net Core. It should be well supported, but it is a subset of .Net Framework, targeted primarily at web and cloud applications, and does not ...
svick's user avatar
  • 142
2 votes

How can I compile, run and decompile C# code in Ubuntu terminal?

The official .NET Core from Microsoft has been around since 2016. It's open source software and supports many platforms. Even Mono now shares some code with .NET Core so there's almost no reason to ...
phuclv's user avatar
  • 628
1 vote
Accepted

WPF programming on Unix with C#

Avalonia is an open source cross-platform XAML Framework for .NET Framework, .NET Core and Mono. Avalonia uses a XAML dialect that should feel immediately familiar to anyone coming from WPF, UWP and ...
karel's user avatar
  • 115k
1 vote
Accepted

How do I run Minecraft-Console-Client on Ubuntu?

As the readme states, you don't have to build the project from source - just grab the latest development build (MinecraftClient.exe) from: https://ci.appveyor.com/project/ORelio/minecraft-console-...
valiano's user avatar
  • 1,985
1 vote

C# on PlayOnLinux vs. Wine

PlayOnLinux is a helper application designed to help you set up applications for Wine. Installing it on Ubuntu will require Wine to be installed (it will install Wine if it isn't already). How well ...
thomasrutter's user avatar
  • 36.7k
1 vote

Can I develop web and desktop apps on Ubuntu using C#?

Try the Mono Project. Sponsored by Microsoft, Mono is an open source implementation of Microsoft's .NET Framework based on the ECMA standards for C# and the Common Language Runtime. A growing ...
H2ONaCl's user avatar
  • 9,673
1 vote

Cannot execute programs from MonoDevelop

After you have created a new C# Console Project the way to build it in MonoDevelop is Build -> Build All. A message at the top of MonoDevelop should appear that says: Build successful. The way to ...
karel's user avatar
  • 115k
1 vote

After installing .NET Core, where is the nuget binary?

You already have the .NET Core Nuget, because it is built into the .NET Core SDK that you installed. It just doesn't use any command called nuget. When you install .NET Core, a command called dotnet ...
Eliah Kagan's user avatar
1 vote

connecting Visual studio Code C# to My Sql

Install the vscode-database will support mysql database. Read this Long Guide
Edward Chan JW's user avatar
1 vote

WPF programming in ubuntu

For Linux you can use Avalonia UI Framework which is not the same thing but similar. Mono has no plan for adopting WPF or UWP. C# do support OpenTK(OpenGL) or Gtk#(GUI) through wrappers. WinForms is ...
Hank W's user avatar
  • 27
1 vote

Visual Studio Replacement for C#?

Check the Mono project http://monodevelop.com/ Or Visual Studio https://code.visualstudio.com/Download And for more: Check: Mono>development-environments Online compiler: https://repl.it/languages/...
Fcmam5's user avatar
  • 249

Only top scored, non community-wiki answers of a minimum length are eligible