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 .
Read moreHow do you make a case insensitive?
includes on and the substring to lowercase to make a case insensitive lookup.
Read moreIs contains in C# case sensitive?
The string. Contains() method in C# is case sensitive . And there is not StringComparison parameter available similar to Equals() method, which helps to compare case insensitive.4 Oca 2014
Read moreWhat is case insensitive in C#?
We created a case insensitive contains function to determine whether the wordToCheck string was present in the mainString string with the string. IndexOf() function and StringComparison. OrdinalIgnoreCase as the parameter in C# .13 Mar 2021
Read more