R
ron
Hi,
I have a 16 bit hex value contained in a string.
example="00A4"
I need to convert the hex value to binary.
I then need to return the whole binary value as a string.
example="0000000010100100"
Then need to look at each bit value to see if "1" or "0"
and return a bool indicating the resultant.
I have done this in VB6 but it was a long drawn out
process of if statements.
There must be a easy way do this in C#?
Could someone please explain what is the best way to
handle this, a code example would be most appreciated.
Thanks Ron
I have a 16 bit hex value contained in a string.
example="00A4"
I need to convert the hex value to binary.
I then need to return the whole binary value as a string.
example="0000000010100100"
Then need to look at each bit value to see if "1" or "0"
and return a bool indicating the resultant.
I have done this in VB6 but it was a long drawn out
process of if statements.
There must be a easy way do this in C#?
Could someone please explain what is the best way to
handle this, a code example would be most appreciated.
Thanks Ron