c# ToList() and ToString()
<p>I'm debugging a query with <code>.SingleOrDefault()</code> that's throwing an exception "subquery is returning more than one element."</p>

<pre><code>SomeValue = (from...
             where ....
             select ...).SingleOrDefault()
</code></pre>

<p>I want to see for which value it's generating this bug so I changed it to this:</p>

<pre><code>SomeValue = ((from...
              where ....
              select ...).ToList()).ToString()
</code></pre>

<p>The problem is that it's not returning a string of the list but it's returning <code>"System.Collections.Generic.List1[System.String]"</code></p>

<p>How do I get the list to a string of elements separate by commas?</p>

<p>Thanks.</p>
