title: MongoDB C# Drive doesn't allow '.' in documents field names
body: <p>Currently I want to have keys with dots in my documents, but unfortunately the current MongoDB driver 2.4.3 doesn't allow it.</p>
  
  <p>This is the code I am currently using:</p>
  
  <pre><code>   Dictionary&lt;string, string&gt; dic = new Dictionary&lt;string, string&gt;();
     dic.Add(@"magic.key", "test.test");
  
     var data = JsonConvert.SerializeObject(dic);
  
     var docToInsert = BsonSerializer.Deserialize&lt;BsonDocument&gt;(data);
  
     MongoClient client = new MongoClient("mongodb://localhost:27017");
  
     IMongoDatabase DB = client.GetDatabase("testDB");
  
     IMongoCollection&lt;BsonDocument&gt; col = DB.GetCollection&lt;BsonDocument&gt;("testCol");
  
     col.InsertOne(docToInsert);
  </code></pre>
  
  <p>This is the exception thrown:</p>
  
  <pre><code>   Element name 'magic.key' is not valid'.
  </code></pre>
  
  <p>Again, I am using MongoDB.Driver from MongoDB, Inc, downloaded from NuGet, the version I am using is 2.4.3</p>
  
  <p>I tried using a escape character but it didn't work, other SO posts said that it is not possible, but some time passed and I would like to know if there is a solution now.</p>
  
  <p>I tried and verified that older versions of MongoDB (1.0 and 1.1) do allow it, is there any way to achieve this with the current driver? or I will have to stick with the old one?</p>