You can pass arguments to your apps from inside Visual Studio (and get the advantages of using the debugger at the same time):
1) Open your project in the Solution Explorer pane.
2) Double click the "Properties" branch.
3) In the resulting page, click the "Debug" tab on the left hand side.
4) Under "Start options" you can enter the command line arguments and working directory.
You can do it from the command line:
c# - Build Visual Studio project through the command line - Stack Overflow[
^] but it's a lot easier - and more flexible - to stay within the IDE.