Sorry to ask such noob question at here
if i got a string like this
string ss ="4a0368";
how to convert this stings ss to
byte[] test = {0x4a,0x03,0x68};
i am trying to use getbyte() but didn't work
test= ss.getbyte();
or in short:
how to convert a string ss2 = "4a"; to byte 0x4a in C#
Visual C#10
|