title: Convert Linq ObjectQuery IQueryable to IEnumerable
body: <p>Totally confused about the data types required here. </p>
  
  <p>I have this Linq statement:</p>
  
  <pre><code>                var feat = AllCustomers
                      .Select(c =&gt; c.CustomerServices.SelectMany(cs =&gt; cs.CustomerServiceFeatures)
                      .SelectMany(csf =&gt; csf.ConfigElements).Where(ce =&gt; ce.Name == "ItemType").Select(ce =&gt; ce.Value).Distinct());
  </code></pre>
  
  <p>It returns the required data, and VS tells me that the type is being set as:</p>
  
  <pre><code>System.Data.Objects.ObjectQuery&lt;System.Collections.Generic.IEnumerable&lt;string&gt;&gt;
  </code></pre>
  
  <p>However I want to add this data into a list of strings:</p>
  
  <pre><code> List&lt;string&gt; itemTypes = new List&lt;string&gt;();
   itemTypes.AddRange(feat);
  </code></pre>
  
  <p>But this throws an error:</p>
  
  <pre><code> Argument 1: cannot convert from 'System.Linq.IQueryable&lt;System.Collections.Generic.IEnumerable&lt;string&gt;&gt;' to 'System.Collections.Generic.IEnumerable&lt;string&gt;'   
  </code></pre>
  
  <p>I can't find the required syntax to cast to correct type. Can anyone help?</p>
  
  <p>Cheers,
  Matt</p>