From CodeProject:
This small Tip talks about the right way of comparing strings in a application. We will try to see what are the various ways we can compare the strings and which one should be or should not be used. Usually in our applications when we want to compare two strings we use the equality operator.