How i make a conditional case-insensitive such that it works in all capitlization variations?

So i have a conditional Where, String A == String B.

What is the simplest way to make sure it returns true if the strings match in all characters regarding if their capitalization match? So if i am comparing [email protected] to [email protected] it will return true?

2 replies