I have number "000001B6" (hexadecimal). I want to convert hex "000001B6" to integer or byte, then search result number in array of byte to check if this number exists in array or not.
How can i do that in C#, such that:
byte[] temp = new byte[20];
number = 000001B6 // convert number to integer or byte then search result number in array