System::Console::WriteLine method

Console::WriteLine() method

Outputs the current line terminator to the standard output stream.

static void System::Console::WriteLine()

See Also

Console::WriteLine(bool) method

Outputs the string representation of bool value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(bool value)
ParameterTypeDescription
valueboolThe value to output

See Also

Console::WriteLine(char_t) method

Outputs the specified character value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(char_t value)
ParameterTypeDescription
valuechar_tThe value to output

See Also

Console::WriteLine(const ArrayPtr<char_t>&) method

Outputs the string representation of the specified character array followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const ArrayPtr<char_t> &buffer)
ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The array to output

See Also

Console::WriteLine(const ArrayPtr<char_t>&, int, int) method

Outputs the string representation of the specified range of the specified character array followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const ArrayPtr<char_t> &buffer, int index, int count)
ParameterTypeDescription
bufferconst ArrayPtr<char_t>&The character array
indexintThe index in the array at which the range to output begins
countintThe number of elements in the range to output

See Also

Console::WriteLine(const char *) method

static void System::Console::WriteLine(const char *)=delete

See Also

Console::WriteLine(const char_t *) method

Outputs the specified c-string followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const char_t *value)
ParameterTypeDescription
valueconst char_t *The c-string to output

See Also

Console::WriteLine(const Decimal&) method

Outputs the string representation of Decimal value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const Decimal &value)
ParameterTypeDescription
valueconst Decimal&The value to output

See Also

Console::WriteLine(const Exception&) method

Outputs the string representation of the specified Exception object followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const Exception &e)
ParameterTypeDescription
econst Exception&The value to output

See Also

Console::WriteLine(const SharedPtr<T>&) method

Outputs the string representation of the specified object followed by the current line terminator to the standard output stream.

template<class T> static void System::Console::WriteLine(const SharedPtr<T> &object)
ParameterDescription
TType of the object to output
ParameterTypeDescription
objectconst SharedPtr<T>&Object to output

See Also

Console::WriteLine(const String&, Args&&…) method

Outputs the string representation of the specified arguments formatted according to the specified format followed by the current line terminator to the standard output stream.

template<class...> static void System::Console::WriteLine(const String &format, Args &&... args)
ParameterDescription
Thetypes of the values to output
ParameterTypeDescription
formatconst String&The string format
argsArgs&&…The values to output

See Also

Console::WriteLine(const String&) method

Outputs the specified string object followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const String &value)
ParameterTypeDescription
valueconst String&The string object to output

See Also

Console::WriteLine(const TypeInfo&) method

Outputs the string representation of TypeInfo value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(const TypeInfo &value)
ParameterTypeDescription
valueconst TypeInfo&The value to output

See Also

Console::WriteLine(double) method

Outputs the string representation of double-precision floating-point value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(double value)
ParameterTypeDescription
valuedoubleThe value to output

See Also

Console::WriteLine(float) method

Outputs the string representation of single-precision floating-point value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(float value)
ParameterTypeDescription
valuefloatThe value to output

See Also

Console::WriteLine(int32_t) method

Outputs the string representation of 32-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(int32_t value)
ParameterTypeDescription
valueint32_tThe value to output

See Also

Console::WriteLine(int64_t) method

Outputs the string representation of 64-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(int64_t value)
ParameterTypeDescription
valueint64_tThe value to output

See Also

Console::WriteLine(uint32_t) method

Outputs the string representation of unsigned 32-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(uint32_t value)
ParameterTypeDescription
valueuint32_tThe value to output

See Also

Console::WriteLine(uint64_t) method

Outputs the string representation of unsigned 64-bit integer value followed by the current line terminator to the standard output stream.

static void System::Console::WriteLine(uint64_t value)
ParameterTypeDescription
valueuint64_tThe value to output

See Also