Let\'s say I have 2 strings.First string is x = \"abc\" and the second one is y = \"ABC\".When I write in c# following code:
if(x == y)
or
Try:
Case sensitive:
String.Equals (a,b)
Case Insensitive
string.Equals(a, b, StringComparison.CurrentCultureIgnoreCase);