title: Get All 'documents' from MongoDB 'collection'
body: <p>I need to retrieve all the documents that are in my collection in MongoDB, but I cannot figure out how. I have declared my 'collection' like this-</p>
  
  <pre><code>private static IMongoCollection&lt;Project&gt; SpeCollection = db.GetCollection&lt;Project&gt;("collection_Project");
  </code></pre>
  
  <p>And I followed what is explained in <a href="http://mongodb.github.io/mongo-csharp-driver/2.0/getting_started/quick_tour/#get-a-single-document-with-a-filter">this</a> MongoDB tutorial. I adjusted it for my needs, like-</p>
  
  <pre><code> var documents = await SpeCollection.Find(new Project()).ToListAsync();
  </code></pre>
  
  <p>However, I keep having the following error-</p>
  
  <blockquote>
    <p>MongoDB.Driver.IMongoCollection does not have a definition for 'Find' and the best override of the extension method [superlong stuff]. Find contains non valid arguments.</p>
  </blockquote>