📅  最后修改于: 2022-03-11 14:49:23.961000             🧑  作者: Mango
public int GetHashCode(coordinate obj)
{
if (obj == null) return 0;
return obj.x.GetHashCode() ^ obj.y.GetHashCode();
}