If i have 100 objects in my application are out of
scope.when first time garbage collected how many objects
memory reference are free?
Answer Posted / 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 |
Post New Answer View All Answers
What are extensions in c#?
What is inumerable?
How does return work in c#?
What is the difference between int and int in c#?
What is an int c#?
What is the difference while using directive vs using statement ?
How more than one version of an assembly can keep in same place?
Is unity object oriented?
What is Dependency of Injection?
What is yield break in c#?
What is boolean method?
What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?
How do you clear a list in c#?
How do you name a variable in c#?
What is difference between continue and break in c#?