Parse Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts the string representation of a number to its 8-bit signed integer equivalent.

This API is not CLS-compliant. The CLS-compliant alternative is Parse.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

[CLSCompliantAttribute(false)]
public static sbyte Parse(
	string s
)

Parameters

s
Type: System..::..String
A string that represents a number to convert. The string is interpreted using the NumberStyles.Integer style.

Return Value

Type: System..::..SByte
An 8-bit signed integer that is equivalent to the number contained in the s parameter.

Show: