Compile kod C# dengan Mono pada Debian Lenny

Untuk compile kod C#, gunakan mcs dari pakej mono-mcs

Katakan kod sumber adalah kod.cs dengan kandungan seperti berikut

using System;

class Hello {
	static void Main() {
		Console.WriteLine ("Hello, World!");
	}
}

Compile kod seperti berikut:
mcs kod.cs

Fail executable/essembly bernama kod.exe akan terhasil. Untuk uji essembly tersebut:
./kod.exe

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)