<p>I have just installed C# for the first time, and at first glance it appears to be very similar to VB6. I decided to start off by trying to make a 'Hello, World!' UI Edition.</p>

<p>I started in the Form Designer and made a button named "Click Me!" proceeded to double-click it and typed in</p>

<pre><code>MessageBox("Hello, World!");
</code></pre>

<p>I received the following error:</p>

<p>MessageBox is a 'type' but used as a 'variable'</p>

<p>Fair enough, it seems in C# MessageBox is an Object. I tried the following</p>

<pre><code>MessageBox a = new MessageBox("Hello, World!");
</code></pre>

<p>I received the following error:
MessageBox does not contain a constructor that takes '1' arguments</p>

<p>Now I am stumped. Please help.</p>

Code summary:
```
```
using System.Windows.Forms;

...

MessageBox.Show( "hello world" );
```
```
Also (
as per this other stack post
): In Visual Studio expand the project in Solution Tree, right click on References, Add Reference, Select
```
System.Windows.Forms
```
on Framework tab. This will get the MessageBox working in conjunction with the using System.Windows.Forms reference from above.