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

Explain enumerator?

524


What are the objects in asp.net?

545


What is the difference between value and reference types?

548


Explain namespace?

574


What is the role of new keyword?

628






Explain the difference between datatable and dataset?

558


What is the difference between system.applicationexception class and system.systemexception?

683


Write a program to find all text files in a logical drive and return the count of the number of files?

2275


Explain the difference between int and int32?

524


how many server control present in .net

2296


Is vb net a scripting language?

548


What is the use of internal keyword?

575


What is the purpose of objects present in asp.net?

576


Explain the use of option explicit?

598


Name some different types of control?

531