Ejemplo n.º 1
0
        // Appends the specified string builder to this sequence.
        internal StringBuilder append(StringBuilder sb)
        {
            if (sb == null)
            {
                return(append(new String("null")));
            }
            int len      = sb.length();
            int newcount = count + len;

            if (newcount > value.Length)
            {
                expandCapacity(newcount);
            }
            sb.getChars(0, len, value, count);
            count = newcount;
            return(this);
        }