Are the following methods of comparison term a andb insensitive equivalent:
a
b
Console.WriteLine( string.Compare(a.ToUpper(), b.ToUpper())); Console.WriteLine( string.Compare(a, b, StringComparison.OrdinalIgnoreCase));
Solution
Last updated 5 years ago