Which type of variables are under the control of garbage
collector?

Answer Posted / sujai cn

The objects which are in the heap , are under the control
of garbage collector.garbage collector is low weight
process which will run in background & clean the heap
(remove the objects from the heap which dont have the
reference , i.e, not reachable object) there are many
algorithms designed to monitor when & how long the garbage
collector has to run.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by for each loop?

559


Can we change static variable value in c#?

568


Distinguish between finally and finalize blocks?

594


What is the use of 'using' statement in c#?

554


What is a float?

577






How can we sort the elements of the array in descending order?

615


What is reflection c#?

553


What is mvc firstordefault?

558


Is python easier than c#?

590


What is Wrapper class in dot net?

724


Explain what is an interface in c#?

592


What is tryparse c#?

600


What is regex replace in c#?

614


What is the difference between iqueryable and ienumerable?

557


What is icollection in c#?

592