What is the relation between Garbage collector and finalize
and destructor?
Answer Posted / kanak
GC checks for those resources which are no longer used by
the process. To release the memory from these resources and
in order to regain the memory heap GC initiates destructors
to destroy such instances of the program. Before the
destructor void an instance variable finalize routine gets
executed. This routine performs whatever is to be done
before the object return to void state or prior to release
of any unused resources.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
So you know which dll is used for microsoft .net run time?
What is writeline in vb.net?
Can you please explain the difference between thread and process?
What is strong name in .net assembly?
how to deploy vb.net with key and evaluation time? any one can help me?
What is the feature anonymous type?
What are the shared variables?
What is a stream in vb.net?
How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?
Tell us how many languages are supported by .net?
What is DLL HELL in VB.NET
What is the difference between readonly variable and constant variable?
How to view an assembly?
Is vb net a scripting language?
Explain managed code?