Closed JamesNK closed 6 years ago
The code change seem fine, but I've read that post over a few times and I still don't get it. How does this make user's lives better? Does this more perf?
There is no real benefit, it's just StringComparer is for cases when an API uses IComparer, e.g. the Dictionary comparer, and StringComparison is for regular string comparisons.
Ok - you get an approve because its clearer? I guess?
You have forgotten the most valuable thing of all: 1 James point
https://stackoverflow.com/a/8918112/11829