/// <summary> /// Calling this member in a loop will return each command-line option. /// </summary> /// <param name="args"></param> /// <param name="opts"></param> /// <returns></returns> public static int getopt(string[] args, string opts) { if (singleInstance == null) { singleInstance = new GetOpt(args, opts); } return(singleInstance.getoptInternal()); }