Possible Duplicate:
How do you convert Byte Array to Hexadecimal String, and vice versa?
i have a List, i need to convert it to hex strings. i feel like the way i am converting is quiet long.
List<byte> TRIGGER_POL = Data.GetRange(23, 1);
byte[] TRIGGER_POL_temp = new byte[TRIGGER_POL.Count];
TRIGGER_POL_temp[0] = TRIGGER_POL[0];
string TRIGGER_POL_hx = BitConverter.ToString(TRIGGER_POL_temp, 0).Replace("-", string.Empty);
is there a faster, efficient way to do this?
Thanks..