title: allowDiskUse in Aggregation Framework with MongoDB C# Driver
body: <p>I would like to allowDiskUse:true. However I could not found any example which explain allowDiskUse enabling for MongoDB C# driver.</p>
  
  <p>How can I enable allowDiskUse in MongoDB C# driver?</p>
  
  <p>My sample code like that</p>
  
  <pre><code>    var pipeline = new[] { match, project, group, limit, sort, allow };
  
      List&lt;SMBMostInfluentialUser&gt; result = db
          .GetCollection&lt;SMBTwitterStatus&gt;("TwitterStatus")
          .Aggregate(pipeline).ResultDocuments.Select(x =&gt;
              new User
          {
              Influence = Convert.ToDouble(x["Influence"]),
              User = new SMBUser((BsonDocument)x["User"])
          }).ToList();
  </code></pre>