TryParse Method

Byte.TryParse Method

Tries to convert the string representation of a number to its Byte equivalent, and returns a value that indicates whether the conversion succeeded.

Name Description
Byte.TryParse (String, Byte) Tries to convert the string representation of a number to its Byte equivalent, and returns a value that indicates whether the conversion succeeded.
Byte.TryParse (String, NumberStyles, IFormatProvider, Byte) Converts the string representation of a number in a specified style and culture-specific format to its Byte equivalent. A return value indicates whether the conversion succeeded or failed.

Community Additions

ADD
Show:
© 2016 Microsoft