using System; using System.Windows.Forms; public class MyForm : Form { public MyForm() { this.Text = "Hello World"; } [STAThread] public static void Main(string[] args) { MyForm aform = new MyForm(); Application.Run(aform); } }