Java.Lang.Integer.ToString Method
Converts the specified signed integer into a string representation based on the specified radix.

Syntax

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

Parameters

i
the signed integer 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 integer 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 Integer.ToBinaryString(int), #toHexString, or Integer.ToOctalString(int) 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