/// <summary>
 /// Adds multiple elements to the array.
 /// </summary>
 /// <param name="values">A list of values to add to the array.</param>
 /// <returns>The array (so method calls can be chained).</returns>
 public BsonArray AddRange(IEnumerable <string> values)
 {
     if (values != null)
     {
         foreach (var value in values)
         {
             this.values.Add(BsonString.Create(value));
         }
     }
     return(this);
 }
 /// <summary>
 /// Adds multiple elements to the array.
 /// </summary>
 /// <param name="values">A list of values to add to the array.</param>
 /// <returns>The array (so method calls can be chained).</returns>
 public BsonArray AddRange(IEnumerable <string> values)
 {
     if (values != null)
     {
         foreach (var value in values)
         {
             _values.Add((value == null) ? (BsonValue)BsonNull.Value : BsonString.Create(value));
         }
     }
     return(this);
 }