title: How to dynamically add filter to IMongoCollection in C# and MongoDB version="2.2.3"?
body: <p>This is my code:</p>
  
  <pre><code>var database = new MongoClient("mongodb://192.168.3.122").GetDatabase("xxxx");   
  var collection = database.GetCollection&lt;School&gt;("School");
  
  //var it = new List&lt;IMongoQuery&gt;();
  //it.Add(Query.EQ("Phone", "77915656"));
  //it.Add(Query.EQ("EstablishedYear", 1349));
  
  //var query = new QueryBuilder&lt;School&gt;();
  //query.And(it);
  
  IMongoQuery query = new QueryDocument();
  
  Query.And(query, Query.EQ("Phone", "77915656"));
  Query.And(query, Query.EQ("EstablishedYear", 1349));
  collection.Find(query).ToList(); // eror here!!!
  </code></pre>
  
  <p>I don't know how to get result from query?!</p>
  
  <p>And error is:</p>
  
  <blockquote>
    <p>'MongoDB.Driver.IMongoCollection' does not contain a definition for 'Find' and the best extension method overload 'MongoDB.Driver.IMongoCollectionExtensions.Find(MongoDB.Driver.IMongo‌​Collection, MongoDB.Driver.FilterDefinition, MongoDB.Driver.FindOptions)' has some invalid arguments</p>
  </blockquote>