Create msg box in console app

When i was searched about message box in console app,i got these

1.Solution Explorer ->References -> Add Reference.
2.Select "System.Windows.Forms", -> OK
3.Now under all the using System add this to the code window:
using System.Windows.Forms;
4.Now go to the main function
MessageBox.Show("Hello World");
5.Start Debugging.
You have now made a messagebox show in a console application