-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Minor - P4
-
None
-
Affects Version/s: 2.11.3
-
Component/s: BSON
-
None
For simpler BsonArray initialization by taking advantage of C# collection initializer.
So we can simplify BsonArray initializing from this :
new BsonArray { new BsonDocument("a", 1), new BsonDocument("b", 2), };
To this :
new BsonArray { { "a", 1 }, { "b", 2 }, };