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
Explain the difference between “constant” and “read-only” variables used in c#?
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
What is before string in c#?
What is a datacontract?
What is console used for?
What is inheritance in csharp?
What is multicast delegate explain with example?
what is the difference between the debug class and trace class?
What is the difference between const and readonly in c#.net?
Can I define a type that is an alias of another type (like typedef in c++)?
What is a linked list c#?
Is c sharp and c# are same?
What is Implementation inheritance and interface inheritance?
What are the Types of values mode can hold session state in web.config
What are boxing and unboxing?