Mono Class Library: System.Convert Overview | Members

System.Convert.ToString Method

Converts a int to a string .

public static string ToString (int value, IFormatProvider provider)

Parameters

value
The 32-bit signed integer value to be converted.
provider
A IFormatProvider that supplies a System.Globalization.NumberFormatInfo containing culture-specific formatting information.

Returns

Returns the value returned by value.ToString(provider).

Remarks

This method converts value using the information in the System.Globalization.NumberFormatInfo instance supplied by provider. If provider is null or if a System.Globalization.NumberFormatInfo cannot be obtained from provider, the string is formatted in accordance with the current system culture.

Note: See int.ToString .

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0