sudo apt-get install mono-gmcs mono
class X {static void Main () {System.Console.Write("My first mono app worked!\n");}}
gmcs example.cs
./example.exe