Hello everyone,
In my understanding, this method only prevents GC from invoking Finalize method of the instance, it does not prevent GC from reclaiming the memory consumed by the instance? Right?
thanks in advance,
George
Hello everyone,
In my understanding, this method only prevents GC from invoking Finalize method of the instance, it does not prevent GC from reclaiming the memory consumed by the instance? Right?
thanks in advance,
George
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AlanPosted Apr 15, 2008, 10:37 AM
That's correct, George.
In fact, as you'll see from my response to your other thread, the C# destructor and the Finalize() method are effectively the same thing.