title: How can I use the .Select(T, index) overload in a LINQ query?
body: <p>I want to do this:</p>
  
  <pre><code>list.Select((x, i) =&gt; new { Item = x, Index = i })
  </code></pre>
  
  <p>But in the LINQ query syntax, something like:</p>
  
  <pre><code>from x  in list
  select(x, i) { Item = x, Index = i }
  </code></pre>
  
  <p>But that doesn't work. Or maybe there is another way to increment en scoped variable in the LINQ query?</p>