Mono Hello World

1.安装

$ brew install mono

2.创建Hello.cs

$ mkdir mono-workspace
$ cd mono-workspace
$ vim Hello.cs
using System;

public class Hello {
    public static void Main() {
        Console.WriteLine("Hello linguofeng.com!!")
    }
}

3.编译

$ mcs Hello.cs

4.执行

$ mono Hello.exe

参考: http://logicalgenetics.com/raspberry-pi-and-mono-hello-world/