title: C# Tuple comparison
body: <p>I have been trying badly the last two days to get this part of my code to work properly.</p>
  
  <pre><code>foreach (Tuple&lt;StateObject,string&gt; tupleObj in TCP_Globals.stateObj)
  {
  
      if (tupleObj.Item2.Equals(ConnectedClientsListView.FocusedItem.SubItems[2].Text))
      {
          MessageBox.Show("DEBUG #3");
          StateObject stateObj = tupleObj.Item1; //Obtain the underlying socket management class via remoteIP
          MessageBox.Show("DEBUG #4");
      }
  }
  </code></pre>
  
  <p>The...</p>
  
  <pre><code>if (tupleObj.Item2.Equals(ConnectedClientsListView.FocusedItem.SubItems[2].Text))
  </code></pre>
  
  <p>...doesnt get true even if the two strings contain the same value. The if never passes. How do I compare the tuple obj with the listViewItem correctly?</p>