appendLine


Description:

public StringBuilder appendLine (string s)

Appends a string followed by a newline character.

Example:

    var sb = new StringBuilder ();
sb.appendLine ("line1");
sb.appendLine ("line2");
assert (sb.toString () == "line1\nline2\n");

Parameters:

s

the string to append before the newline.

Returns:

this StringBuilder for chaining.