2 using System.Runtime.InteropServices;
\r
6 [DllImport ("user32", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Auto)]
\r
7 public static extern int MessageBox (int hWnd, string pText, string pCaption, int uType);
\r
9 public static int Main ()
\r
11 MessageBox (0, "Hello from Mono !", "PInvoke Test", 0);
\r