Class SByteEqualityComparer

An equality comparer for type sbyte, also known as System.SByte.

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

Implements

System.Collections.Generic.IEqualityComparer<System.SByte>

Bases

object

Property overview

Default

Method overview

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

Property details

S SByteEqualityComparer DefaultAccess: Read-Only

Value:

Method details

F bool Equals(System.SByte item1, System.SByte item2) Determine whether two sbytes are equal
Returns:True if equal
Parameters:
item1:first sbyte
item2:second sbyte
F int GetHashCode(System.SByte item) Get the hash code of this sbyte, that is, itself
Returns:The same
Parameters:
item:The sbyte