c# - Convert.ToByte Could not find any recognizable digits -
this question has answer here:
- how convert string byte[] in c# 4 answers
i need somehow convert "xxx" byte got exception
an unhandled exception of type 'system.formatexception' occurred in mscorlib.dll
additional information: not find recognizable digits.
is possible "xxx" value convert byte?
byte tr = (byte)(convert.tobyte("xxx", 16) << 4);
it not possible convert "xxx" byte. not representation of byte.
Comments
Post a Comment