You should use an explicit comparer for string.
EqualityComparer<string>.Default.Equals("a", "b");
// Should be
StringComparer.Ordinal.Equals("a", "b");
You should use an explicit comparer for string.
EqualityComparer<string>.Default.Equals("a", "b");
// Should be
StringComparer.Ordinal.Equals("a", "b");