Here's an interesting question I got the other day:
If you have an overloaded operator == then any call to the operator method is "early bound" at compile time according to the compile-time types of the operands. But calling Equals() on an object is a virtual call; the actual method called is bound at runtime according to the runtime type of the receiver. This...Full Article.
No comments:
Post a Comment
Post your comments here: