Tag: localization

54 votes
5 answers
1.2K views
Which is generally best to use -- StringComparison.OrdinalIgnoreCase or StringComparison.InvariantCultureIgnoreCase?

I have some code like this: If key.Equals("search", StringComparison.OrdinalIgnoreCase) Then DoSomething(

avatar
User demo
0 1 0 9
asked 07 September, 2021