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