Click or drag to resize
StringBuilderClear Method
Removes all characters from the current StringBuilder instance.

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public StringBuilder Clear()

Return Value

Type: StringBuilder
An object whose Length is 0 (zero).
See Also