I have a byte array and a byte list, they both contains same numbers. how should I compare them.
code i am using, but not working:
if (portBuffer.Equals(ret_bytes))
status = 0;
The following image is captured when i was debugging. they basicly contains same bytes. I know they are belonging to different object, but how to cast them? thanks
a busy cat http://img29.imageshack.us/img29/5769/33818425.jpg !