03-11-2019, 06:55 PM
Introduction
All of my tutorials are written, tested, and meant to be used on Linux. I am using Ubuntu xenial (currently 16.04). You can use any debian distro and follow any of my tutorials. I will not pander to the Windows kiddies, don't ask.
Directions
First, let's check what version you have, you can use the lsb_release command.
18.04
16.04
14.04
Next, install Mono
Now we can compile and then run the C# code below, that i've saved in a file named hello.cs
using the csc to compile
csc hello.cs
and using mono to run the .net executable
mono hello.exe
WinForms
You can compile the winforms applications using the following argument
Gtk# Forms
All of my tutorials are written, tested, and meant to be used on Linux. I am using Ubuntu xenial (currently 16.04). You can use any debian distro and follow any of my tutorials. I will not pander to the Windows kiddies, don't ask.
Directions
First, let's check what version you have, you can use the lsb_release command.
Hidden Content
18.04
Hidden Content
16.04
Hidden Content
14.04
Hidden Content
Next, install Mono
Hidden Content
Now we can compile and then run the C# code below, that i've saved in a file named hello.cs
Hidden Content
using the csc to compile
csc hello.cs
and using mono to run the .net executable
mono hello.exe
WinForms
You can compile the winforms applications using the following argument
Hidden Content
Gtk# Forms
Hidden Content