Classes allow you to specify your own equality comparers 類允許您指定自己的相等比較器。
When comparers are not explicitly specified, at least one of the objects being compared is expected to implement the 在未顯式指定比較器時(shí),所比較的對(duì)象中至少有一個(gè)應(yīng)實(shí)現(xiàn)
Classes also have this capability, and in addition allow the comparers to be specified when the collection is created 類也具有此功能,此外還允許在創(chuàng)建集合時(shí)指定比較器。