public String toString() {if (count == 0) {return "";}int wasted = value.length - count;if (wasted >= 256|| (wasted >= INITIAL_CAPACITY && wasted >= (count >> 1))) {return new String(value, 0, count);}shared = true;return new String(0, count, value);}
public override string ToString(){if (count == 0){return string.Empty;}int wasted = value.Length - count;if (wasted >= 256 || (wasted >= INITIAL_CAPACITY && wasted >= (count >> 1))){return new string(value, 0, count);}shared = true;return Sharpen.StringHelper.GetString(0, count, value);}