LINQ Select new returns ObjectMaterializer
<p>I have a query that looks like this:</p>

<pre><code>        var matches = (from das in dc.GetTable&lt;datos_amef_secuencia&gt;()
                          where das.ID_SUBETAPA == IDSubStage
                          group das by das.AMEF_MODO_FALLA into gamf
                             select new{ MODODEFALLA = gamf.Select(das =&gt; das.AMEF_MODO_FALLA),
                                         CONTEOMODODEFALLA = gamf.Count()}).ToList();
</code></pre>

<p>The query itself has the information that i need, the problem radicates whenever i try to use the information in the variable "matches" , for example, if i use a messagebox to print "MODODEFALLA" :</p>

<pre><code>        foreach( var element in matches)
        {
            MessageBox.Show(element.MODODEFALLA.ToString());
        }
</code></pre>

<p>It returns something like this:</p>

<pre><code>System.Data.Linq.SqlClient.Implementation.ObjectMaterializer&lt;System.Data.SqlClient.SqlDataReader&gt;.Convert&lt;string&gt;
</code></pre>

<p>I've tried several methods to print the results of the query but the one that works is the method .Single , but it only returns 1 item of the list, in certain situations i have more than one item.</p>

<p>Any help would be appreciated.</p>

<p>Thanks in advance.</p>