title: How do I run a Visual Studio C# program with command line arguments?
body: <p>I have a very basic Visual Studio console app:</p>
  
  <pre><code>using System;
  
  namespace BasicApp
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine(args.Length);
          }
      }
  }
  </code></pre>
  
  <p>I can run it just fine from inside Visual Studio by clicking the green triangle "Run" button, but I also want to be able to run it from the command line and pass it some arguments. I'm a little confused by the file structure of Visual Studio projects and I don't know too much about how compiling works. What do I need to type into the command line in order to make it run?</p>