[Mono-list] Hello World works!

Miguel de Icaza miguel@ximian.com
29 Aug 2001 01:56:39 -0400


Hello guys,

   As of yesterday Dietmar got the `Hello World' .NET program running
on Linux for the first time.  The program consists of:

using System;

public class Test {
	public static int Main () {
		
		Console.WriteLine ("Hello World!");

		return 0;
	}
}

The executable is being compiled on Windows with .NET Beta2, just like
the rest of our class libraries and then copied over to Linux.

To make Hello World, the following happened:

	1821 CIL instructions were executed.
	  66 subroutine calls were performed.
	  12 classes were involved.

To run this, you need the snapshots, and just install the existing
corlib.dll from the Windows build and execute on Linux:

mint console.exe

Miguel.