Which type of variables are under the control of garbage
collector?
Answers were Sorted based on User's Feedback
Answer / kiran kumar reddy
http://www.codeproject.com/dotnet/Primitive_Ref_ValueTypes.asp
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / chiyan
reference will be stored in heap memory,heap is accessible
to garbage collector
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anand g
All types of objects and variables under the process of the
framework.
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
Can we make a class private in c#?
Explain the ways to deploy an assembly?
What is difference between Enum and Struct?
Why ref is used in c#?
What is void method?
What are primitive data types in c#?
What are the different types of delegation?
Why attributes are used in c#?
Are objects passed by reference in c#?
What is method and function in c#?
What is multicast delegate in c# ?
What is delegates in c#?