[CSHARP-1157] Comment on: "mongodb-ecosystem/tutorial/use-csharp-driver.txt" Created: 19/Dec/14  Updated: 04/Apr/15  Resolved: 04/Apr/15

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/ecosystem/tutorial/use-csharp-driver/#csharp-driver-tutorial
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36
Referrer: http://docs.mongodb.org/ecosystem/drivers/csharp/
Screen Resolution: 1920 x 1080
repo: docs-ecosystem
source: tutorial/use-csharp-driver



 Description   

Hi,

In the BsonDocument.Add section, there's an example that reads:
// traditional approach
BsonArray a1 = new BsonArray();
a1.Add(1);
a2.Add(2);

I imagine the final line of this should refer to a1, not a2?

Cheers,
Clive

Reporter: Clive Miller
E-mail: clive.miller@thomsonreuters.com



 Comments   
Comment by Craig Wilson [ 04/Apr/15 ]

We have new documentation.

Generated at Wed Feb 07 21:38:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.