MessageBox

[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern int MessageBox(
   IntPtr hWnd,
   string lpText,
   string lpCaption,
   uint uType
);

Microsoft documentation: Link

Last updated