The performance of string.IndexOf(string, StringComparison.OrdinalIgnoreCase) is about 10 times worse than string.IndexOf(string, StringComparison.InvariantCultureIgnoreCase) in a simple szenario.According to documentation and best practice advice OrdinalIgnoreCase should be faster, e.g. http://msdn.microsoft.com/en-us/library/dd465121.aspx.In .Net 2.0 OrdinalIgnoreCase was faster than InvariantCultureIgnoreCase, the behavior changed with .Net 4.0.See also: http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/51c5dcc1-190a-4de7-a62f-a7d967bc517e/http://stackoverflow.com/questions/3771030/string-comparison-in-dotnet-framework-4/3776360
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results