toString


Description:

public string toString ()

Returns a string representation of the Pair.

The format is (first, second). If the values are strings, they are included directly. Otherwise, a type description is used.

Example:

    var pair = new Pair<string,string> ("a", "b");
assert (pair.toString () == "(a, b)");

Returns:

the string representation.