How do i read a command line? : <p>In the program i need to have a way of reading a command line thats given to the program with the running of the program. so for example: </p>

<p>"flying-postman.exe mail.txt boeing-spec.txt 23:00 –o itinerary.txt"</p>

<p>so this line should firstly run the program(which is flying-postman.exe) and then it also needs to feed those 4 following variables to the program. </p>

<p>So i know that ReadLine() exists, but it wont be helpful in the case because i need it to take those variables at the same time the program is called not after the program is called. i.e i dont want it to run the program then wait for the user to enter in the values.</p>
