Java.Lang.Long.ToString Method
Converts the specified signed long value into a string representation based on the specified radix.

Syntax

[Android.Runtime.Register("toString", "(JI)Ljava/lang/String;", "")]
public static string ToString (long l, int radix)

Parameters

v
the signed long to convert.
radix
the base to use for the conversion.

Returns

Documentation for this section has not yet been entered.

Remarks

Converts the specified signed long value into a string representation based on the specified radix. The returned string is a concatenation of a minus sign if the number is negative and characters from '0' to '9' and 'a' to 'z', depending on the radix. If radix is not in the interval defined by Character.MIN_RADIX and Character.MAX_RADIX then 10 is used as the base for the conversion.

This method treats its argument as signed. If you want to convert an unsigned value to one of the common non-decimal bases, you may find Long.ToBinaryString(long), #toHexString, or Long.ToOctalString(long) more convenient.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1