ValueTuple<T1,T2>.ToString Method

Definition

Returns a string that represents the value of this ValueTuple<T1,T2> instance.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

The string representation of this ValueTuple<T1,T2> instance.

Remarks

The string returned by this method takes the form (Item1, Item2, where Item1 and Item2 represent the values of the Item1 and Item2 fields. If any of the field values is null, it is represented as String.Empty.

Applies to