using System; using System.Runtime.InteropServices; class Hello { [DllImport("user32.dll")] public extern static MessageBox(hwnd : int, text : string, caption : string, type : int) : int; public static Main() : void { _ = MessageBox( 0, "Hello, Win32 API(Nemerle) World!", "Hello, World!", 0); } }