Explanation needed about linq queries
<pre><code>private bedrijf_modelDataContext dc = new bedrijf_modelDataContext();

public IList&lt;Afdeling&gt; selectAll()
{ 
    var result = from a in dc.Afdelings
        select a;
    return result.ToList();
}
</code></pre>

<p>This code is supposed to return all the records from the Afdeling-table.
This code works, but it comes from my teacher, and there is no explanation whatsoever as to how this works. Can somebody explain what this exactly does? Thank you.</p>
