Click here to Skip to main content
15,912,504 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi i am Rajiv and my question is How to Write a massage in c#.
Posted
Comments
Sergey Alexandrovich Kryukov 29-Sep-13 1:40am    
The question, as it is, makes no sense.
—SA
ridoy 29-Sep-13 3:03am    
what do you mean by a message?

I assume you want to know how to send an email message using C#.  If so, see the answer to this[^] SO post.

/ravi
 
Share this answer
 
C#
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..
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900