T
Ton van den Heuvel
Hi,
I just noticed that ArrayList.Contains(Object obj) uses the Equals
method of the object that is passed to the Contains method to check
for equality with the object in the list. Wouldn't it be more logical
to use the Equals method of the objects in the list?
Regards,
Ton van den Heuvel
I just noticed that ArrayList.Contains(Object obj) uses the Equals
method of the object that is passed to the Contains method to check
for equality with the object in the list. Wouldn't it be more logical
to use the Equals method of the objects in the list?
Regards,
Ton van den Heuvel