using System.Windows.Forms; public class SimpleHelloWorld : Form { public static void Main() { Application.Run(new SimpleHelloWorld()); } public SimpleHelloWorld() { Text = "Hello, WindowsForms!"; } }