Mono Class Library: System.Convert Overview | Members

System.Convert.ToSByte Method

Converts a sbyte to a sbyte .

[System.CLSCompliant(false)]
public static sbyte ToSByte (sbyte value)

Parameters

value
The sbyte value to be converted.

Returns

value is returned unchanged.

Remarks

This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToInt16(object)(short).

Note: This method is provided for completeness.

Requirements

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