title: Comparing strings in VB.NET
body: <p>Hopefully this should be an easy question. In Java I think it's <code>compareTo()</code>.</p>
  <p>How do I compare two string variables to determine if they are the same?</p>
  <p>ie:</p>
  <pre><code>If (string1 = string2 And string3 = string4) Then
      'perform operation
  Else
      'perform another operation
  End If
  </code></pre>