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 .

public StringBuilder Append (char value, int repeatCount)

Parameters

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

Returns

The current instance after the operation has occurred.

Exceptions

TypeReason
ArgumentOutOfRangeExceptionrepeatCount is less than zero.

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.

Requirements

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