File.WriteLine Method

Writes a line of text to a text file. A newline is automatically appended.

bool WriteLine(const char[] format, any... ...)

Parameters

const char[] format

Formatting rules.

any... ...

Variable number of format parameters.

Return Value

True on success, false otherwise.