Mono Class Library: System.Text.StringBuilder Overview | Members

System.Text.StringBuilder.Append Method

Appends multiple copies of a character to the end of the current System.Text.StringBuilder . [Edit]

public StringBuilder Append (char value, int repeatCount)

Parameters

value
The char to be appended. [Edit]
repeatCount
A int containing the number of times to append value . [Edit]

Returns

The current instance after the operation has occurred. [Edit]

Exceptions

TypeReason
ArgumentOutOfRangeExceptionrepeatCount is less than zero. [Edit]

Remarks

This method appends repeatCount copies of the specified character to the current instance.

The StringBuilder.Capacity of the current instance is increased as necessary.

[Edit]

Requirements

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0