Goedel.Debug.Trace.AreEqual C# (CSharp) Method

AreEqual() public static method

Perform pairwise test for equality on members of an array. Unlike the builtin functions, ensures debugger stops at useful position.
public static AreEqual ( byte X, byte Y ) : bool
X byte First array to compare
Y byte Second array to compare
return bool
        public static bool AreEqual(byte[] X, byte[] Y) {
            if (X.Length != Y.Length) return false;
            for (var i = 0; i < X.Length; i++) {
                if (X[i] != Y[i]) return false;
                }
            return true;
            }