message box in visual studio C# code code example Example: how to do a messagebox in c# MessageBox.Show("Content", "Title", MessageBoxIcon.Error)