How to compare the byte array and byte array list?
<p>I have a byte array and a byte list, they both contains same numbers.
how should I compare them.</p>

<p>code i am using, but not working:</p>

<pre><code>if (portBuffer.Equals(ret_bytes))
         status = 0;
</code></pre>

<p>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</p>

<p><img src="http://img29.imageshack.us/img29/5769/33818425.jpg" alt="a busy cat">
!</p>
