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 |
Is c# good for beginners?
Does c# replace c++?
What are the new features in c# 2.0?
What's the difference between abstraction and encapsulation?
What are generations and how are they used by the garbage collector?
What is cookies in c# asp net?
Can you inherit multiple interfaces?
7 Answers Host4Big, Mind Tree, Moftak Solutions, Siebel Systems,
What is attribute and reflection in c#?
How does foreach loop work in c#?
What are constants in c#?
Define multicast c# delegate?
Give examples for reference types?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)