# Append(String, Boolean)

{% code title="Declaration" %}

```csharp
public static StringBuilder Append(this StringBuilder sb, string value, bool remember)
```

{% endcode %}

{% code title="Example" %}

```csharp
var sb = new StringBuilder("Code is like humor.");

sb.Append("When you have to explain it,", false);
sb.Append("it’s bad.", true);
```

{% endcode %}

{% code title="Result" %}

```csharp
"Code is like humor.When you have to explain it,it’s bad."
```

{% endcode %}
