<p>How do I do this</p>

<pre><code>Select top 10 Foo from MyTable
</code></pre>

<p>in Linq to SQL?</p>

In VB:
```
```
from m in MyTable
take 10
select m.Foo
```
```
This assumes that MyTable implements IQueryable.  You may have to access that through a DataContext or some other provider.
It also assumes that Foo is a column in MyTable that gets mapped to a property name.
See
http://blogs.msdn.com/vbteam/archive/2008/01/08/converting-sql-to-linq-part-7-union-top-subqueries-bill-horst.aspx
for more detail.