Class CharEqualityComparer

An equalityComparer for char.

Implements

System.Collections.Generic.IEqualityComparer<System.Char>

Bases

object

Property overview

Default

Method overview

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

Property details

S CharEqualityComparer DefaultAccess: Read-Only

Value:

Method details

F bool Equals(System.Char item1, System.Char item2) Check if two chars are equal
Returns:True if equal
Parameters:
item1:first char
item2:second char
F int GetHashCode(System.Char item) Get the hash code of this char
Returns:The same
Parameters:
item:The char