Click or drag to resize
StringBuilderLength Property
Gets or sets the length of the current StringBuilder object.

Namespace: System.Text
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public int Length { get; set; }

Return Value

Type: Int32
The length of this instance.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe value specified for a set operation is less than zero or greater than MaxCapacity.
See Also