using System;
class MyProgram
{
public static void Main()
{ Console.WriteLine("massage"); }
}
This will definitely write a 'massage' in C#
If you are asking about writing a email: refer to Ravi Bhavnani's Solution
here.
And if you are talking about MsgBox then use :
System.Windows.Forms.MessageBox.Show("Hello");
Please be specific..