Click or drag to resize
ConvertToInt16 Method (SByte)
Converts the value of the specified 8-bit signed integer to the equivalent 16-bit signed integer.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static short ToInt16(
	sbyte value
)

Parameters

value
Type: SystemSByte
The 8-bit signed integer to convert.

Return Value

Type: Int16
A 8-bit signed integer that is equivalent to value.
See Also