Class ByteEqualityComparer

An equalityComparer for byte

This class is a singleton and the instance can be accessed via the Default property

Implements

System.Collections.Generic.IEqualityComparer<byte>

Bases

object

Property overview

Default

Method overview

Equals(byte item1, byte item2) ,
Equals(object obj), Inherited from object ,
Finalize(), Inherited from object ,
GetHashCode(byte item) ,
GetHashCode(), Inherited from object ,
GetType(), Inherited from object ,
MemberwiseClone(), Inherited from object ,
ToString(), Inherited from object

Property details

S ByteEqualityComparer DefaultAccess: Read-Only

Value:

Method details

F bool Equals(byte item1, byte item2) Check if two bytes are equal
Returns:True if equal
Parameters:
item1:first byte
item2:second byte
F int GetHashCode(byte item) Get the hash code of this byte, i.e. itself
Returns:The same
Parameters:
item:The byte