static void Main() { Application.Run(new Form1()); }
private void button1_Click(object sender, System.EventArgs e) { int x,y,z; x=5; y=5; z=x+y; System.Console.WriteLine("z={0}",z); System.Console.ReadLine(); } }