Answers for "c# case insensitive compare"

C#
0

c# case insensitive compare

string str1 = null;
string str2 = "london";

str1?.Equals(str2, StringComparison.CurrentCultureIgnoreCase); // true
Posted by: Guest on May-24-2021

Code answers related to "c# case insensitive compare"

C# Answers by Framework

Browse Popular Code Answers by Language