Browse files

Fix code formatting

  • Loading branch information...
1 parent 62bd5e8 commit 9f1d0861d145d9bfd009e6b9e1cc2afd2c98f4e8 @lanwin lanwin committed Sep 26, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.rst
View
2 README.rst
@@ -42,6 +42,7 @@ The best point to start is our Wiki at http://github.com/mongodb-csharp/mongodb-
Another good source for how to use the driver is its unit tests. Basic usage can be found in the TestCollection set of test cases.
At the simplest query the database like this:
+```csharp
using MongoDB;
using(Mongo mongo = new Mongo("localhost"))
{
@@ -52,6 +53,7 @@ At the simplest query the database like this:
Document result = collection.FindOne(new Document("field1",10));
Console.WriteLine(result["value"]);
}
+```
There is also a growing number of samples in the examples directory.

0 comments on commit 9f1d086

Please sign in to comment.