Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1157

Comment on: "mongodb-ecosystem/tutorial/use-csharp-driver.txt"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • None
    • Affects Version/s: None
    • Component/s: None
    • Environment:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            xgen-internal-docs Docs Collector User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: