Int b = 0x00000a6c, it doesn't make sense. B is still 2668 after assignment! !
The number in 16 needs to be saved in bytes, but each byte can only have 255 at most, so you need to split it and save it yourself! !
int i = 2668
string str = I . ToString(" X8 ");
MessageBox。 show(str);
I can only help you here! !
You handle the rest yourself,