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 are the advantages of clr procedure over t-sql procedure?
What is the use of console application in c#?
What is the Signification of the "new " keyword in C#? example
How a two-dimensional array declared in C#?
What is the difference between array and arraylist in c#?
What method is used to sort the elements of the array in descending order?
Explain how many types of exception handlers are there in .net?
Which CSS property can be used for controlling the stretchiness of a control?
What are the characteristics of c#?
Why is the XML InfoSet specification different from the Xml DOM? What does the InfoSet attempt to solve ?
What is decimal in c#?
An Array is a Ref Type? what about the array elements which are value type(int,Float...etc)?