printf


Description:

[ PrintfFormat ]
public void printf (string format, ...)

Writes a formatted string into a StringBuilder.

This is similar to the standard sprintf function, except that the StringBuilder buffer automatically expands to contain the results. The previous contents of the StringBuilder are destroyed.

Parameters:

this

a StringBuilder

format

the string format. See the printf documentation

...

the parameters to insert into the format string