Virtual method tables

后端 未结 3 830
南方客
南方客 2020-12-01 09:42

When discussing sealed classes, the term \"virtual function table\" is mentioned quite frequently. What exactly is this? I read about a method table a while ago (I don\'t re

3条回答
  •  难免孤独
    2020-12-01 10:09

    The C# virtual function table works basically the same as the C++ one, so any resources which describe how the C++ virtual function table works should help you pretty well with the C# one as well.

    For example, Wikipedia's description is not bad.

提交回复
热议问题