how to do a messagebox in c#

C#
MessageBox.Show("Content", "Title", MessageBoxIcon.Error)
Source

Also in C#: