I have read some where that , every object created on CLR heap has Object Header and Object body.
In case of c++ , we need to make destructor as virtual in case of polymorphism.
Example c++ :-
virtual void Hello():
class Derived: base
This is not a compiled code.
In this senario we need to make Derived class destructor as virtaul.
Question is in case of CLR , we need not make destructor as virtual. How does CLR takes care of this internally.
View Complete Post