安装mono
$ sudo apt-get install mono-complete
hello程序
$ vim hello.cs
using System;
namespace HelloWorld
{
class HelloWorld
{
static void Main(string[] args)
{
Console.WriteLine("hello");
}
}
}
$ mcs hello.cs
$ ./hello.exe