message box with icon in c# windows application code example Example: how to do a messagebox in c# MessageBox.Show("Content", "Title", MessageBoxIcon.Error)