While the first one succeds the 2nd one fails. When we converted the "-name" in the first one to hex we got
2D6E616D65
Whereas in the second we got
966E616D65

The hyphen in the first is a hyphen but in the second one it is in fact a "non-breaking hyphen". This is just visible in this email but in a notepad editor they may look exactly the same.
The morale of the story is: Beware of command line arguments copied from 3rd party sources

November 6, 2014

Sometimes it is useful when debugging within an application to change the logic using an external influence, for example, using a value in a file.
I have made the class as small as possible so that it can be copied and pasted anywhere for temporary debugging help
Something that can be used like this:

By using a text file we can change the value from a simple notepad editor and have the running program change behaviour immediately. Note that this is only temporary code used for debugging/investigating a problem, not for release code.