We often compare two strings to the same case and then compare them to see if they are the same. Instead, we can use the StringComparison class’s InvariantCultureIgnoreCase property.
String.Equals('stringOne', 'Stringone', StringComparison.InvariantCultureIgnoreCase)