Why is this code being generated when I create a "c# Windows Forms Application"?
static class Program
{
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main()
    {
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new Form1());
    }
}
The reason I ask is because I've never seen this before. I am used to creating projects and them being empty, just like this.
static class Program
{
    static void Main()
    {
    }
}
Ive never seen that "STAThread" or "Application.etc..." stuff before.
I just upgraded to Visual Studio 2019.