Hi all,
Just a quick question - I think I am right but want to confirm.
One page 353 the book mentions how you can still call the original method if you specifically call it from within the new method (overriding the original) by using Base.MethodName etc.
I understand this for 2 objects, but lets say I had 3 objects, and they were something like this:
Object 1
--->Object 2 (inheriting from Object 1)
------->Object 3 (inheriting from Object 2)
Now, if I wanted to do what the book is talking about - does Base.Methodname refer to the object that this object inherits from - or rather the 'first' object in the series of objects.
Ie, all 3 objects above were to have the same method (each doing something slightly different) - and each one overrides the other, if in Object 3 I then called a method using Base.MethodName etc - would I be correct in saying that it would take the MethodName from Object2 and not Object1?
Sorry if I've overly complication my question by trying to explain it
Regards
Rob