using System;
using System.Runtime.InteropServices;
namespace API
{
class Class1
{
[DllImport("user32.dll", CharSet=CharSet.Unicode)]
public static extern int MessageBox(int h, string m, string c, int type);
static void Main(string[] args)
{
string pText = "Hello World!";
string pCaption = "MessageBox API";
MessageBox(0, pText, pCaption, 0);
}
}
}