title: How to access command line arguments with new Console App template in VS2022
body: <p>I wonder how can one access the command line arguments given this is all that gets generated in the Program.cs file by the new template for Console Application in Visual Studio 2022:</p>
  <pre><code>// See https://aka.ms/new-console-template for more information
  Console.WriteLine(&quot;Hello, World!&quot;);
  </code></pre>
  <p>Moreover, there is no <code>args</code> variable in scope.</p>
  <p>So how to access CLI arguments?</p>