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
messageobjectThe 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
messagestringThe text that will be written in the output.
WriteLine(string, params ReadOnlySpan<object?>)
Writes the text format and arguments and concats an line-break at the end into the output.
public void WriteLine(string format, params ReadOnlySpan<object?> args)
Parameters
formatstringThe string format that represents the arguments positions.
argsReadOnlySpan<object>An array of objects that represents the string format slots values.
WriteLine(string, params IEnumerable<object?>)
Writes the text format and arguments and concats an line-break at the end into the output.
public void WriteLine(string format, params IEnumerable<object?> args)
Parameters
formatstringThe string format that represents the arguments positions.
argsIEnumerable<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
formatProviderIFormatProviderThe format provider to use when formatting the string. If null, the current culture is used.
formatstringThe string format that represents the arguments positions.
argsobject[]An array of objects that represents the string format slots values.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語