Class StringBuilderEx
Class containing some extension methods for System.Text.StringBuilder.
Inheritance
System.Object
StringBuilderEx
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Extend
Assembly:Extend.dll
Syntax
public static class StringBuilderEx
Methods
| Improve this Doc View SourceAppendLineFormat(StringBuilder, String, Object[])
Appends a formated line to the given string builder.
Declaration
public static StringBuilder AppendLineFormat(this StringBuilder sb, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | sb | The string builder to append the line to. |
System.String | format | The System.String containing the format items. |
System.Object[] | args | The array containing all the corresponding values. |
Returns
Type | Description |
---|---|
System.Text.StringBuilder | Returns the string builder. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The string builder can not be null. |
System.ArgumentNullException | The format can not be null. |
System.ArgumentNullException | The arguments can not be null. |