get First 10 result in MongoDB collection
<p>I want to get First top 10 result in MongoDb Query </p>

<p>For that I tried something like this </p>

<pre><code>return _users.Collection.FindAll().Limit(10).ToList();
</code></pre>

<p>But this is not working then I tried following thing according to most of resources, but this one also not working</p>

<pre><code>return _users.Collection.Aggregate([{ "$limit": 10 }]).ToList();
</code></pre>