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

.NET Framework (current version)

Determines whether the specified byte arrays contain identical values.

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

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


Type: System.Byte[]

The first byte array value to compare.

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.

.NET Framework
Available since 4.0
Return to top