public void trimToSize() {if (count < value.length) {char[] newValue = new char[count];System.arraycopy(value, 0, newValue, 0, count);value = newValue;shared = false;}}

public void trimToSize ( ) { if ( count < value . length ) { char [ ] newValue = new char [ count ] ; System . arraycopy ( value , 0 , newValue , 0 , count ) ; value = newValue ; shared = false ; } }
public virtual void trimToSize(){if (count < value.Length){char[] newValue = new char[count];System.Array.Copy(value, 0, newValue, 0, count);value = newValue;shared = false;}}
