Tell me about the internal working of Garbage collector?
Answer Posted / kanth
The main objective of GC is Memory Management....
Gc wil take initiative when ever the application meemory is
low...we hav Finalize() method which runs implicitly...and
Dispose() method which we hav to kal Explicity....
Gc identifies the unused objects with reference counting
concept.
Finalize() method runs implicitly and free the resources if
the object havin no references...in the case of Dispose()
method it wont mind if the reference r ther.....
Gc maintain 4 Generation...start with 0 ..ends with 3
if GC released the resources using
Finalize method() still u can get the object..coz dis
method havin backup...it stores in generation0-3
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How we can register the Area in ASP.Net MVC?
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
What is the difference between viewbag and viewdata in asp.net mvc?
explain what is ado.net entity framework?
How can I tell what .net framework is installed?
How does .net framework works?
Explain bundle.config in mvc4?
Can you use Razor code in Javascript in ASP.Net MVC?
What is entity framework used for?
What is entitycontainer? : Entity framework
What are the advantages of razor view engine?
Do you know about the new features in asp.net mvc 4 (asp.net mvc4)?
what is entityclient?
What are html helpers in asp.net mvc?