Vector<T>::ToString Method

Returns the string representation of this vector using default formatting.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
virtual String^ ToString() override

Return Value

Type: System::String
The string representation of this vector.

This method returns a string in which each element of the vector is formatted using the "G" (general) format string and the formatting conventions of the current thread culture. The current culture's NumberFormatInfo::NumberGroupSeparator property followed by a space is used to separate each element.

Show: