title: Declare IEnumerable<T> variable for use later on
body: <p>I have a LINQ query such as:</p>
  
  <pre><code>using(csv.......)
  {
      csv.Select(x =&gt; new Data() { ID = x[27], Raw = String.Join(",", x) });
  }
  //Do some stuff
  
  //Now I want to use the result of the query
  foreach(var item in ??)
  {
  
  }
  </code></pre>
  
  <p>The query returns IEnumerable within my <code>using</code> statement but how do I declare and then assign a variable so I can use it later on in a <code>foreach</code> statement?</p>