title: C# byte array comparison
body: <p>I have two byte arrays in C# using .NET 3.0. </p>
  
  <p>What is the "most efficient" way to compare whether the two byte arrays contains the same content for each element?</p>
  
  <p>For example, byte array <code>{0x1, 0x2}</code> is the same as <code>{0x1, 0x2}</code>. But byte array <code>{0x1, 0x2}</code> and byte array <code>{0x2, 0x1}</code> are not the same.</p>