public class MyForm : System.Windows.Forms.Form{ public MyForm(){ Text = "Hello World"; } public static void Main() { System.Windows.Forms.Application.Run(new MyForm()); }}