Options to commandline string

Jun 4, 2013 at 8:09 PM
In my application, I would like to have two distinct modes:
CLI Mode: the user enters the Options at the command line
GUI Mode: the user can use a GUI to enter the Options.

In the GUI, I would like to offer the possibility to copy the corresponding command text to the clipboard, so that the user can use this text and paste it into a *.bat file, thus faciliating the transition from GUI to CLI.

Is there a way to have a "ToString()" Method which does the opposite of the Parse()?