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
what is the advantage of option strict on?
Can you please explain the difference between int and int32?
thak you Mr Govind for replying to my question. My next question is that how to retrieve image stored in an SQL server table and assign it to any image control or picture control using VB.net
What are nested classes?
How to view an assembly?
What is the difference between .dll extension and .exe extension files?
Explain about the keyword must inherit?
Which namespace are used for accessing the data?
Which control is an example of an object in vb net?
What is the difference between readonly variable and constant variable?
Explain option strict?
Why should you use delegate?
What is the feature which is common to all .net languages?
Explain the difference between datatable and dataset?
Which class allows an element to be accessed using unique key?