using System.Windows.Forms; class ex : Form { ex() { Text = "hello"; } static void Main() { Application.Run(new ex()); } }