title: How to avoid anonymous type after executing LINQ statement?
body: <p>I need to set LINQ query results to double array.
  After executing the next statement I get anonymous types, and I can't convert the Array to double type. How can I do that?
  Code:</p>
  
  <pre><code>var rls = context.Test
      .GroupBy(cont =&gt; new
      {
          wd = System.Data.Objects.SqlClient.SqlFunctions.DatePart("weekday", cont.datetime),
          hh = System.Data.Objects.SqlClient.SqlFunctions.DatePart("hour", cont.datetime)
      })
      .Select(rs =&gt; new
          {
              rs.Key.wd,
              rs.Key.hh,
              count = rs.Count()
          }).Where(rs =&gt; rs.hh != null &amp; rs.wd !=null).ToArray();
  </code></pre>
  
  <p>Thanks in advance.</p>