A case-insensitive string is something else: typedef std::basic_string<char , ci_char_traits<char> > istring , not typedef std::basic_string<char, std::char_traits<char> > string .
How do you make a case insensitive in C#?
Generally, in c# the string Equals() method will perform case-sensitive string comparison. If we want to perform case insensitive string comparison, we need to use the OrdinalIgnoreCase property and the Equals method .