There is no such method on System.Object (or any other type that would allow such use in an ints array). I think you are looking for the Enumerable.SequenceEqual method, an extension method from LINQ to Objects:
a1.SequenceEqual(b1, EqualityComparer<int>.Default)
although you can also do this:
a1.SequenceEqual(b1)
EDIT: if you want to use the Equals method from IStructuralEquatable , you will have to drop it into the interface, since arrays implement this interface explicitly :
((IStructuralEquatable)a1).Equals(b1, EqualityComparer<int>.Default)
source share