title: How to use "Or" statement in MongoDB C# Driver?
body: <p>I am facing problem while Querying the following in MongoDB C#. My code in mongo client is </p>
  
  <pre><code>db.collection.find( { $or: [ { quantity: { $lt: 20 } }, { price: 10 } ,{price:100},{name:"x"}] } )
  </code></pre>
  
  <p>but how to query the same in C#.
  I was able to query the following mongo client code statement </p>
  
  <pre><code>db.collection.find({type:"food"},{name:1,quantity:1})
  </code></pre>
  
  <p>as</p>
  
  <pre><code>var match = new BsonDocument() { { "$match", new BsonDocument { {"type":"food" } } } };
  var project = new BsonDocument(){ { "$project", new BsonDocument{ { "name", 1 } { "quantity", 1 } } } };
  AggregateArgs AggregationPipeline = new AggregateArgs() { Pipeline = new[] { match, project } };
  var aggregate = Collection.Aggregate(AggregationPipeline);
  </code></pre>
  
  <p>I am using Mongo C Sharp Driver 1.9.2.
  Thanks.</p>