How does Hashtable.Equals(object) work?

  • Thread starter Thread starter Bill
  • Start date Start date
B

Bill

In which case Hashtable A equals to Hashtable B?

1). A and B have same key/value pairs, regardless Hashtable's initial
size and load factor.
2). A and B have same key/value pairs, and have same initial size.
3). A and B have same key/value pairs, and have same load factor.
4). A and B have same key/value pairs, and have same initial size and
load factor.
5). Any other possible conditions?

Thank you!
Bill
 
Bill,
In which case Hashtable A equals to Hashtable B?

Since Hashtable doesn't override Equals, it gets the default behavior
of only checking for reference equality.



Mattias
 
Back
Top