public void ensureCapacity(int min) {if (min > value.length) {int ourMin = value.length*2 + 2;enlargeBuffer(Math.max(ourMin, min));}}
public virtual void ensureCapacity(int min){if (min > value.Length){int ourMin = value.Length * 2 + 2;enlargeBuffer(System.Math.Max(ourMin, min));}}