src/Shared/EntityFramework/Core/Objects/DataClasses/StructuralObject.cs
/// <summary>Determines whether the specified byte arrays contain identical values.</summary>
/// <returns>true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false.</returns>
/// <param name="first">The first byte array value to compare.</param>
/// <param name="second">The second byte array to compare.</param>
Determines whether the specified byte arrays contain identical values.
Determines whether the specified byte arrays contain identical values .
protected internal static bool BinaryEquals(byte[] first, byte[] second)
        {
            if (ReferenceEquals(first, second))
            {
                return true;
            }
            if (first == null
                || second == null)
            {
                return false;
            }
            return ByValueEqualityComparer.CompareBinaryValues(first, second);
        }
protected internal static bool BinaryEquals ( byte [ ] first , byte [ ] second ) { if ( ReferenceEquals ( first , second ) ) { return true ; } if ( first == null || second == null ) { return false ; } return ByValueEqualityComparer . CompareBinaryValues ( first , second ) ; }
Determines whether the specified byte arrays contain identical values.
Determines whether the specified byte arrays contain identical values .
true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false.
true if both arrays are of the same length and contain the same byte values or if both arrays are null ; otherwise false .
first
byte[]
The first byte array value to compare.
The first byte array value to compare .
second
byte[]
The second byte array to compare.
The second byte array to compare .