I run my application with command line like this:
path-to-mono/mono --debug myapp.exe
- Is there any way to determine the presence of the --debug parameter (or others, if I use them)?
- 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.)