These are different symbols. Add these lines to your fiddle to see it:
Console.WriteLine((int)'‐');
Console.WriteLine((int)'-');
You can write your own comparison function and treat all different variants of hyphen as the same symbol or you can replace all such symbols in your strings with the one hyphen variant before the comparison.
3
solved Why is “‐” == “-” false? [closed]