How to get Mono command line parameters?

Viewed 1080

I run my application with command line like this:

path-to-mono/mono --debug myapp.exe
  1. Is there any way to determine the presence of the --debug parameter (or others, if I use them)?
  2. Can I get the path to mono executable with which I started the app? (I know some methods to determine the installation path, but this is not that I need.)
1 Answers
Related