In this example I used Visual Studio 2008 Pro. (Any C# DOTNET editor/IDE will work)
Create a new C# Forms Application with a button then paste the follow code into the button click event:
—————————————
MessageBox.Show(”Hello World!”);
—————————————
If you want to add a var inside of the messagebox then do something like this:
string myVar1 = “John Doe”;
MessageBox.Show(”Hello ” + myVar1″);
Enjoy!
This entry was posted
on Monday, July 28th, 2008 at 2:06 pm and is filed under C#.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

10 comments so far
Works for me! Nice and simple.
July 28th, 2008 at 6:59 pm
……
Бизнесмен из Вас отличный…
April 6th, 2010 at 12:31 am
Hello! Please e-mail me your contacts. I have a question jack@infansport.ru” rel=”nofollow”>……
Thank you!…
June 12th, 2010 at 8:20 am
moyhieh@jpkiidi.ru” rel=”nofollow”>1…
no more…
June 13th, 2010 at 8:52 pm
Добрый день! luke@grantmaro.ru” rel=”nofollow”>……
С уважением,…
June 15th, 2010 at 1:03 pm
Добрый день! jose@tehnon.ru” rel=”nofollow”>……
с ув….
June 19th, 2010 at 4:43 pm
Добрый вечер! mason@sportbul.ru” rel=”nofollow”>……
С уважением,…
June 19th, 2010 at 6:22 pm
Medicamentspot.com International Legal RX Medications. Special Internet Prices (up to 40% off average US price). NO PRIOR PRESCRIPTION REQUIRED!…
Combivir@buy.online” rel=”nofollow”>.…
June 24th, 2010 at 12:26 pm
Buy:Actos.Prevacid.Nexium.Lumigan.Accutane.Human Growth Hormone.Valtrex.Zovirax.Arimidex.100% Pure Okinawan Coral Calcium.Zyban.Retin-A.Prednisolone.Synthroid.Mega Hoodia.Petcam (Metacam) Oral Suspension….
July 15th, 2010 at 8:36 pm
cell http://zgarageqfnktbi.BESTPARTSPLUS.INFO/tag/fun+cell+Holders/ : Holders…
cell…
August 30th, 2010 at 6:42 am
Leave a Comment