>Playing devil's advocate again..
Same here...
>This is true regardless of whether or not my class implements an interface. I could
>create a CompareTo method on any class that does all of this without the expense of
>attaching my class to an interface
One of the nicer things interfaces give you in this context is the ability to define several IComparable interfaces, for instance for comparing last names, adresses, zip codes and so on and work polymorphically from than on.
HTH
thomas
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only