Skip to content
axunonb edited this page Mar 12, 2022 · 3 revisions

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