How To: Handle command line arguments (launch parameters) in XNA.

Sometimes games use command line arguments such as “-window” so that games can easily be launched with these options for whatever reason. (In my case, they like to launch in stupid resolutions that my monitor doesn’t support ¬¬).
It’s always nice to allow for this type of launch option for those that want it so here I’ll explain how to handle these options.

banner