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 is difference between field and property in c#?
What's the difference between a static method and a non static method c#?
What is the difference between firstordefault and singleordefault?
How main method is called in c#?
Explain the types of assemblies in .net?
Explain the difference between Metadata and Manifest
Is comparable a functional interface?
What is the signature of a method?
What is difference between private and static constructor?
What are cshtml files?
Can a class have multiple constructors c#?
What is the purpose of a namespace?
What are the differences between a class and a struct?
Which of these statements correctly declares a two-dimensional array in c#?
What is a di class?