I'm trying to read user arguments in a C# application. I know how to read them based on position with
string[] args = Environment.GetCommandLineArgs();
but I'd like to read them from switches such as
app.exe /f /d:foo
I'm really struggling to find any information on doing this...