How to use Contains(Of T)(T) method?
<p>I have a byte list variable which I store byte array information here:</p>

<pre><code>internal List&lt;Byte&gt; portBuffer = new List&lt;Byte&gt;();
</code></pre>

<p>And I have another byte array variable:</p>

<pre><code>byte[] ret_bytes = { 0x4F, 0x4B };
</code></pre>

<p>How can I find out if ret_bytes is inside the portBuffer? The code below seems like not correct.</p>

<pre><code>portBuffer.Contains(ret_bytes)
</code></pre>

<p>Another question, how to find out the position of the first element of ret_bytes in side the portBuffer list if it is inside the list?</p>

<p>Thanks</p>
