Hacker News new | past | comments | ask | show | jobs | submit login

Ordinal compares the literal bytes. The other comparison variants have additional features, e.g. case-insensitivity.



Ordinal can also be case insensitive.


I disagree. Like, you have `StringComparison.Ordinal`, which is case sensitive, and `StringComparison.OrdinalIgnoreCase`, which is indeed case insensitive, but it's a separate thing.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: