StructuralObject.BinaryEquals Method (Byte[], Byte[])

 

Determines whether the specified byte arrays contain identical values.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

protected internal static bool BinaryEquals(
	byte[] first,
	byte[] second
)

Parameters

first
Type: System.Byte[]

The first byte array value to compare.

second
Type: System.Byte[]

The second byte array to compare.

Return Value

Type: System.Boolean

true if both arrays are of the same length and contain the same byte values or if both arrays are null; otherwise, false.