Method WriteLineAsync
WriteLineAsync()
Writes an line-break at the end of the output.
public Task WriteLineAsync()
Returns
WriteLineAsync(object?)
Writes the text and concats an line-break at the end into the output.
public Task WriteLineAsync(object? message)
Parameters
message
objectThe text that will be written in the output.
Returns
WriteLineAsync(string)
Writes the text and concats an line-break at the end into the output.
public Task WriteLineAsync(string message)
Parameters
message
stringThe text that will be written in the output.
Returns
WriteLineAsync(string, params object?[])
Writes the text format and arguments and concats an line-break at the end into the output.
public Task WriteLineAsync(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.
Returns
WriteLineAsync(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 Task WriteLineAsync(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.