title: select distinct mongodb C#
body: <p>I have to select distinct records from my simple mongo db database. 
  I have many simple records these records looks like this :</p>
  
  <pre><code>{"word":"some text"}
  </code></pre>
  
  <p>My code is very simple.</p>
  
  <pre><code>    const string connectionString = "mongodb://localhost";
      var client = new MongoClient(connectionString);
  
      MongoServer server = client.GetServer();
      MongoDatabase database = server.GetDatabase("text8");
      MongoCollection&lt;Element&gt; collection = database.GetCollection&lt;Element&gt;("text8");
      MongoCursor&lt;Element&gt; words = (MongoCursor&lt;Element&gt;)collection.FindAll();
  </code></pre>
  
  <p>But I have't idea how to select distinct word's from database. 
  Could someone can give me some advice ?</p>