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

SmartFormat has the following extension methods for StringBuilder, TextWriter (which works with Console, too) and string.

ExtensionMethods are included in SmartFormat.SmartExtensions.

Signatures:

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

Console.Out.WriteSmart("template", args...);
Console.Out.WriteLineSmart("template", args...);

string.FormatSmart("template", args...);
Clone this wiki locally