title: Why does this byte[] not equal my other byte[] with the same values?
body: <pre><code>public static readonly byte[] TestArray=
      new byte[] { 0x75, 0xa5, 0x15, 0x19, 0xa0, 0x2e, 0xd9, 0x37, 0xb0, 0x4d };
  
  public bool TestFunction() 
  {
      MemoryStream s=new MemoryStream(
          new byte[] { 0x75, 0xa5, 0x15, 0x19, 0xa0, 0x2e, 0xd9, 0x37, 0xb0, 0x4d }
          );
  
      byte[] test=s.ToArray();
      return (test==TestArray);
  }
  </code></pre>
  
  <p>I am using the above simple code. The byte values in the arrays are equal. But my <code>TestFunction()</code> always returns false. What is going on? </p>