static bool ScreenArguments(string[] arguments, string Argument) { foreach (string ARG in arguments) { if (ARG.Contains(Argument)) { return(true); } } return(false); }
static int ScreenArgumentsLoc(string[] arguments, string Argument) { int argloc = 0; foreach (string ARG in arguments) { argloc++; if (ARG.Contains(Argument)) { return(argloc); } } return(-1); }