System Namespace Convert Class
Converts the value of a given Boolean to an equivalent 8-bit unsigned integer.
[ VB ] Overloads Public Shared Function ToByte ( _ ByVal value As Boolean _ ) As Byte [ C# ] public static byte ToByte ( bool value ); [ C++ ] public: static unsigned char ToByte ( bool value ); [ JScript ] public static function ToByte ( value : Boolean ) : Byte;
The number 1 if value is true; otherwise, 0.
Convert Members Convert.ToByte Overload List Boolean
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph