C# Convert ToString(SByte)
Description
Convert ToString(SByte)
converts the value of the specified
8-bit signed integer to its equivalent string representation.
Syntax
Convert.ToString(SByte)
has the following syntax.
[CLSCompliantAttribute(false)]
public static string ToString(
sbyte value
)
Parameters
Convert.ToString(SByte)
has the following parameters.
value
- The 8-bit signed integer to convert.
Returns
Convert.ToString(SByte)
method returns The string representation of value.
Example
/* ww w .j a v a2 s . c o m*/
using System;
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(Convert.ToString((SByte)123));
}
}
The code above generates the following result.