private static bool isOption(String arg) { if (!String.IsNullOrEmpty(arg)) { return (arg[0] == '/' || arg[0] == '-'); } return false; } }