📜  IEqualityComparer gethashcode strings c# Code Example

📅  最后修改于: 2022-03-11 14:49:23.961000             🧑  作者: Mango

代码示例1
public int GetHashCode(coordinate obj)
{
    if (obj == null) return 0;
    return obj.x.GetHashCode() ^ obj.y.GetHashCode();
}