MyBase.MyMethod forces your class to call the first instance of MyMethod from the ancestors of the current class.
MyClass.MyMethod forces the call to use the MyMethod of the Class Definition containing the MyClass.MyMethod call inhibiting the resolution of to an override of MyMethod that may be defined in the actual class instance.
MyBase.MyMethod forces your class to call the first instance of MyMethod from the ancestors of the current class.
MyClass.MyMethod forces the call to use the MyMethod of the Class Definition containing the MyClass.MyMethod call inhibiting the resolution of to an override of MyMethod that may be defined in the actual class instance.
I kind of get it, but it doesnt seem to make much sense. I still dont quite understand when it would be appropriate to use MyClass. By your description, what is the difference between MyClass and Me?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.