title: How to loop through two lists simultaneously?
body: <p>I have referred to the following question at: <a href="https://stackoverflow.com/questions/4450650/using-foreach-loop-to-iterate-through-two-lists">Using foreach loop to iterate through two lists</a>. My question is this, with regards to the chosen answer: Can the o.DoSomething be a comparison? As in:</p>
  
  <pre><code>For Each a in ListA.Concat(ListB)
      If(a from ListA=a from ListB) Then
          Do Something here
      End If
  Next
  </code></pre>
  
  <p>As you might've guessed, I'm using VB.Net and would like to know how I can do what I have shown here. That would basically be to iterate through a joined list separately/independently. Thanks!</p>