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
What are the classes contained in a single .NET DLL ?
how to sort an array in c#
What are the steps to create an assembly and add it to the gac?
Why ienumerable is used in c#?
Distinguish between the Debug class and Trace class with its functionality?
Explain anonymous type in c#?
What is view state c#?
Is datetime immutable c#?
What does ienumerable mean?
What is the property of class?
What is boxing and unboxing in c#?
Can an int be negative c#?
How do you convert byte array to hexadecimal string, and vice versa?
When can a derived class override a base class member?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?