GUI Windows Forms C# Tutorial

using System.Drawing;
using System.Windows.Forms;
   
class FormProperties
{
     public static void Main()
     {
          Form form = new Form();
   
          form.StartPosition   = FormStartPosition.CenterScreen;
   
          Application.Run(form);
     }
}