Skip to content

Commit b3b7b5f

Browse files
committed
CSHARP-1938: Code review change.
1 parent a4f54f9 commit b3b7b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Examples/DocumentationExamples.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public void Example_21()
456456
// db.inventory.find( { tags: ["red", "blank"] } )
457457

458458
// Start Example 21
459-
var filter = Builders<BsonDocument>.Filter.Eq("tags", new BsonArray { "red", "blank" });
459+
var filter = Builders<BsonDocument>.Filter.Eq("tags", new[] { "red", "blank" });
460460
var result = collection.Find(filter).ToList();
461461
// End Example 21
462462

0 commit comments

Comments
 (0)