contains with case insensitive c# code example
Example: c# case insensitive compare
string str1 = null;
string str2 = "london";
str1?.Equals(str2, StringComparison.CurrentCultureIgnoreCase); // true
string str1 = null;
string str2 = "london";
str1?.Equals(str2, StringComparison.CurrentCultureIgnoreCase); // true