title: Creating a mongodb capped collection using c# api
body: <p>Using the C# MongoDB driver, we currently create our collection like so:</p>
  
  <pre><code>MongoServer mongoServer = MongoServer.Create("some conn str");
  MongoDatabase db = mongoServer.GetDatabase("mydb");
  MongoCollection logs = db.GetCollection("mycoll");
  </code></pre>
  
  <p>I would like to use <code>mycoll</code> as a capped collection. I haven't seen any examples or documentation specifics on how to create a capped collection using the C# driver. I've found tons of JS examples, and even a Java example (here: <a href="https://stackoverflow.com/questions/11229237/creating-a-mogodb-capped-collection-in-java">Creating a mongodb capped collection in java</a>). </p>
  
  <p>Has anyone had to do this before, or know if it's possible in C#? </p>