If i have 100 objects in my application are out of
scope.when first time garbage collected how many objects
memory reference are free?
Answers were Sorted based on User's Feedback
Answer / radhika
garbage collector cleans the memory based on the concept of
unreachable roots.so if these 100 objects are not in the
list of reachable roots provided by the jitcompiler which
is avalable to garbage collector then they will be removed.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / shailesh
First time free any object.Second time it will clean 100
object memory reference.
Is This Answer Correct ? | 0 Yes | 3 No |
What is difference between c sharp and c#?
What is inner class in c#?
What Happens In Memory When You Box And Unbox A Value-type?
Explain how to parse a datetime string?
What is property in c#?
What?s different about switch statements in C#?
what is the difference between passing a value object by reference and a reference object by value?
What is difference between c and c sharp?
What is escape character in c#?
What is state c#?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
What is the difference between an application domain and a process?