Append(String, Boolean)
Appends the specified string to this instance.
public static StringBuilder Append(this StringBuilder sb, string value, bool remember)
var sb = new StringBuilder("Code is like humor.");
sb.Append("When you have to explain it,", false);
sb.Append("it’s bad.", true);
"Code is like humor.When you have to explain it,it’s bad."
Last updated