understand equal and gethashcode
摘要:
Supposed we have a class belowpublic class TestHash { public int x; int y; public TestHash(int x, int y) { this.x = x; this.y = y; } public override int GetHashCode() { Console.WriteLine("判断hashcode"); re... 阅读全文