This must be a .NET bug, right?
"KonNy".StartsWith("Kon") returns false, while "KonNy".StartsWith("Ko") and "KonN".StartsWith("Kon") return true.
Is there anything I'm missing here?
Repeated from comments:
I don't know .NET specifically, but I suspected you might observe this phenomenon if StartsWith followed a collation where nny was a single letter, such as Hungarian. If I'm right and if you change your collation to a neutral one, your "bug" would disappear. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With