using System.Windows.Forms; // the namespace containing
// the Form class
public class HelloWorld : System.Windows.Forms.Form
{ // our Form class
public HelloWorld() // the constructor
{
this.Text = "Hello World"; // Set this form’s Text Property
}
static void Main() // Application’s entry point
{
Application.Run(new HelloWorld());
} // Run the form
}