How are strings compared when doing switch
statements? Does the current culture of the thread / computer affect switch
evaluation? I got in the habit of always specifying a comparer when comparing strings, so it would be great to have this confirmed.
I suspect it's StringComparer.Ordinal
, but I cannot find any documentation on this.