Share via


Convert.ToByte Method

Converts the specified string representation of a number to an equivalent 8-bit unsigned integer.

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

Syntax

public static byte ToByte (
         string value
)

Parameters

  • value
    A string that contains the number to convert.

Return Value

An 8-bit unsigned integer that is equivalent to value, or zero if value is null.

Version Information

Available in the .NET Micro Framework version 4.2.

See Also

Reference

Convert Class
Convert Members
System Namespace