title: Add methods to Program.cs in .NET 6
body: <p>In the Program.cs for .NET 5, you could add methods under the Main(string[] args) method. With .NET 6, the Main method exists, but isn't physically included in the Program.cs file by default. To that end, I'm wondering how you add methods to Program.cs. For example:</p>
  <pre><code>// .NET 5
  public class Program
  {
     static void Main(string[] args)
     {
        // body
     }
  
     public static void MyMethodHere()
     {
        // method body
     }
  }
  </code></pre>
  <p>How would you add the MyMethodHere() class in .NET 6 in Program.cs without manually typing out the whole Program class and Main method?</p>