On May 16, 2007, at 3:33 PM, Alexander Cohen wrote:

> Does array.IndexOf use the Operator_Compare function or does it just
> compare pointers all the time. I have an array of a custom class and
> indexOf does not class my operator_Compare function on the class. Is
> this normal?

It's a little hard to tell, because the documentation for IndexOf  
does not specify what comparison is used.  But this is the behavior  
I'd expect.   Operator_Compare overloads the = operator.  It does not  
override =.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to