title: Warning 1 Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'
body: <p>I read from a text file . in that text file a line is with YES or NO (yes if it's correct, no if it's not)</p>
  
  <p>I used at the beginning <code>answer.Tag = "NO;"</code> then when I press a button it goes <code>answer.Tag = "YES";</code></p>
  
  <p>I have a verify button which does </p>
  
  <pre><code>if (answer[0].Tag == "bla bla" &amp;&amp; answer[1].Tag== "blabla2")
  {
      MessageBox.Show("They Match");
  }
  else 
      MessageBox.Show("They don't");
  </code></pre>
  
  <p>Then I have this problem :  Warning 1 Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string' </p>
  
  <p>I don't know why it doesn't do the comparison . It skips to else</p>