private static CmdLineParser ParseArguments(string[] args) { Dictionary <string, string> dict = args.Select(s => s.Split(':')).ToDictionary(s => s[0].Replace("/", ""), s => s[1]); CmdLineParser cmdLineParser = CmdLineParser.DictionaryToObject <CmdLineParser>(dict); return(cmdLineParser); }