title: C# BsonDocument remove element
body: <p>I hava a BsonDocument</p>
  
  <pre><code>var document =  { "$match" : 
      { 
          "resume.Id" : ObjectId("5450e7c7d7c1820e40020d10"), 
          "accountSettings.HideInfo" : false, 
          "Nationality" : { "$in" : [] }, 
          "ComName" : { "$in" : [] }, 
          "resume.code" : { "$in" : [] } 
      }
  }
  </code></pre>
  
  <p>Is there any way to remove eleement</p>
  
  <pre><code>"ComName" : { "$in" : [] }
  </code></pre>
  
  <p>or</p>
  
  <pre><code>"resume.code" : { "$in" : [] }
  </code></pre>
  
  <p>I trying to use </p>
  
  <pre><code>document.Values.ToBsonDocument().Remove("ComName");
  </code></pre>
  
  <p>but is doesn't work</p>