Some of my downloaded c# code include hexadecimal based calculation.
eg. int length = ((((byte) hexstr[0x10]) & 0x80) > 0) ? 0x10 : 8;
when i change this code to normal decimal based code like that
int length = ((((byte) hexstr) & 128) > 0) ? 16 : 8;
It give the same solution without giving any error.
It still run correctly.
So what I would like to know is why most of the code use hexadecimal base digit which is more difficult to understand than normal decimal digit.
If there anyone who know this, please let me know it.