title: Using C# foreach tuple
body: <p>How can I work with tuples in a foreach loop?</p>
  
  <p>The following code doesn't work:</p>
  
  <pre><code>foreach Tuple(x, y) in sql.lineparams(lines)
  {
  
  }
  </code></pre>
  
  <p>sql.lineparams(lines) is array of tuples <code>&lt;int, string&gt;</code></p>