c# MessageBox

C#
MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning);
Source

Also in C#: