Method Append
Append(StringBuilder, String, String)
If builder
is not empty, appends separator
then value
. If builder
is empty, appends only value
.
Declaration
public static StringBuilder Append(this StringBuilder builder, string separator, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | builder | The System.Text.StringBuilder to append to. |
System.String | separator | The separator to append if |
System.String | value | The value to append. |
Returns
Type | Description |
---|---|
System.Text.StringBuilder |