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 writeline?
Does c# do array bounds checking?
What is console write in c#?
What are constants in c#?
Oops concepts ?
2 Answers Accenture, Digital GlobalSoft,
Which .gang of four. Design pattern is shown below?
How can it prevents DLL Hell assembly versioning in .NET?
Explain the difference between Metadata and Manifest
What is single dimensional array in c#?
What is the use of generics in c#?
What is entity framework c#?
What is global asax in c#?