What is the relation between Garbage collector and finalize
and destructor?

Answer Posted / aparna

here the GC calls an object's FINALIZE metod immediately
befoer it collects an object that is no longer reffered by
the application
GC doesnt actually run finalize metod when the GC finds a
FINALIZE method it queues the obj up for the finalizer to
execute the objects metod

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define cls?

595


What do you mean by serialization and deserialization?

542


What would you do to remove microsoft visual basic name space?

508


What is the difference between .dll extension and .exe extension files?

608


Explain option strict?

547






What is the use of assembly?

563


Explain i.tostring method?

522


What is trace in vb.net?

587


What are the two main parts of .net?

563


Can we use Vb.Net and C# language simultaneously in one .Net application?

561


Which class allows an element to be accessed using unique key?

519


Explain about delegate?

513


Write a program that would find the nth term of a geometric progression, given the value of first term and common ratio. Any inbuilt function that the language provides for calculating exponent should not be used.

3109


Describe about visual basic.net?

551


Which is the tool which can convert visual basic old version to .net compatibility version?

529