public void add(double value) {ensureCapacity(_count + 1);_array[_count] = value;_count++;}

public void Add(double[] values){int AddLen = values.Length;EnsureCapacity(_Count + AddLen);Array.Copy(values, 0, _array, _Count, AddLen);_Count += AddLen;}
