c# - Convert.ToByte Could not find any recognizable digits -


this question has answer here:

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

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -