I have a very basic Visual Studio console app:
using System; namespace BasicApp { class Program { static void Main(string[] args) { Console.WriteLine(args.Length); } } } 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?

bin\Debug\YourProjectName.exefor Debug builds andbin\Release\YourProjectName.exefor Release builds.