I'm wondering if there is another way of comparing two byte arrays, that isn't going through each index of the array. I'm just curious .

I tried using:
vb.net Code:
  1. If ArrayA.Equals(ArrayB) Then
  2. 'Do something
  3. Else
  4. 'Do something else
  5. End If

But that would give me false negatives. If I wanted the real results then I would have to add a Not.

Thanks in advance!