ChronoEngine_SwAddin.SWTaskpaneHost.myBytearrayHashComparer.Equals C# (CSharp) Method

Equals() public method

public Equals ( object x, object y ) : bool
x object
y object
return bool
            public new bool Equals(object x, object y)
            {
                byte[] a1 = (byte[])x;
                byte[] a2 = (byte[])y;
                if (a1.Length != a2.Length)
                    return false;

                for (int i = 0; i < a1.Length; i++)
                    if (a1[i] != a2[i])
                        return false;

                return true;
            }
SWTaskpaneHost.myBytearrayHashComparer