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 |
How do I download a program to my desktop?
What are desktop applications examples?
What is a clr (common language runtime)?
Why c# is called c sharp?
what is application domain?
what is default accessibility for a class? what is difference b/w viewstate and controlstate? what is the default access specifier for a top level class which are not nested into other classes?
Is null c# operator?
What is cache memory in c#?
OOPs concept ?
Tell me the difference between call by value and call by reference.
How do you generate documentation from the C# file commented properly with a command-line compiler?
List the 5 different access modifiers in c#?
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)