Click or drag to resize
ByteToString Method (String, IFormatProvider)
Converts the value of the current Byte object to its equivalent string representation using the specified format and culture-specific formatting information.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public string ToString(
	string format,
	IFormatProvider provider
)

Parameters

format
Type: SystemString
A standard or custom numeric format string.
provider
Type: SystemIFormatProvider
An object that supplies culture-specific formatting information.

Return Value

Type: String
The string representation of the current Byte object, formatted as specified by the format and provider parameters.
Exceptions
ExceptionCondition
FormatExceptionformat includes an unsupported specifier. Supported format specifiers are listed in the Remarks section.
See Also