C# Hello World Button to Visual MessageBox

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!

your ads here (468x60) - after 1st post.