We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
StringComparison.Ordinal is what you want to do for your string comparisons in C#. When performing a compare with StringComparison.Ordinal the RAW bytes are used to compare strings rather than some weird Culture-Info check remarks
Big Sorting
You are viewing a single comment's thread. Return to all comments →
StringComparison.Ordinal is what you want to do for your string comparisons in C#. When performing a compare with StringComparison.Ordinal the RAW bytes are used to compare strings rather than some weird Culture-Info check remarks