Hi swarup,
are you worried about which finalizer run first, the one in the derived
class or the one in it's base class? In C# the derived class finalizer will
execute first and then the base classes finalizer is called implicitly, so it
will not be called until the derived classes finalizer has run.
If you mean can you determine which objects finalizer is called before
another object then like Nicholas said this is not deterministic. You should
not be accessing any of the fields inside your class which refer to mananged
resources since you do not know if those resources have already been garbaged
collected or not.
What are you trying to do? If you are worrying about this, then you
probably have some design issue with your code.
Mark.