Method WriteLine
WriteLine()
Writes an line-break at the end of the output.
public void WriteLine()
WriteLine(object?)
Writes the text and concats an line-break at the end into the output.
public void WriteLine(object? message)
Parameters
message
objectThe text that will be written in the output.
WriteLine(string)
Writes the text and concats an line-break at the end into the output.
public void WriteLine(string message)
Parameters
message
stringThe text that will be written in the output.
WriteLine(string, params object?[])
Writes the text format and arguments and concats an line-break at the end into the output.
public void WriteLine(string format, params object?[] args)
Parameters
format
stringThe string format that represents the arguments positions.
args
object[]An array of objects that represents the string format slots values.
WriteLine(IFormatProvider?, string, params object?[])
Writes the text format and arguments and appends a line-break at the end into the output, using the specified format provider.
public void WriteLine(IFormatProvider? formatProvider, string format, params object?[] args)
Parameters
formatProvider
IFormatProviderThe format provider to use when formatting the string. If null, the current culture is used.
format
stringThe string format that represents the arguments positions.
args
object[]An array of objects that represents the string format slots values.