using messagebox c# code example
Example 1: c# MessageBox
MessageBox.Show("text", "title", MessageBoxButtons.OK, MessageBoxIcon.Warning);
Example 2: messagebox.show c# error
MessageBox.Show("Some text", "Some title",
MessageBoxButtons.OK, MessageBoxIcon.Error);