c# vtable is only part of the type objects method table -
i'm learning aspects of clr in c# , read topic in "clr via c# 4th edition".
it said each instance of type has pointer vtable, in book didn't differentiate between static, non-static , virtual methods. according methods declared in method table withing type object. think "vtable" name misleading, , virtual methods table part of normal method table in each type object. true?
that make sense because when calling virtual method, object referenced , clr checks objects type , calls method associated objects class. or wrong?
another question: static , non static methods in method table. understanding differentiated parameter. non-static methods object related, when calling methods, this-pointer passed in reveal object called it. static methods not need parameter. right?
i know quite theoretically hope there people can me!
really nobody?
Comments
Post a Comment