Skip to content

v2 StringBuilder.AppendLineSmart, Console.Out.WriteLineSmart

axunonb edited this page Feb 6, 2022 · 1 revision

SmartFormat has a few extension methods for StringBuilder and TextWriter (which works with Console too).

Signatures:

StringBuilder.AppendSmart("template", args...);
StringBuilder.AppendLineSmart("template", args...);

Console.Out.WriteSmart("template", args...);
Console.Out.WriteLineSmart("template", args...);
Clone this wiki locally