Tell me about the internal working of Garbage collector?
Answers were Sorted based on User's Feedback
Answer / 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 |
GC = Garbage Collector. Its non-deterministic process. When
there are no references to an object and when the system
memory is too low. Then GC runs to deallocate those memory
for non refernced objects. It also moves objects from one
memory allocation to another.
| Is This Answer Correct ? | 0 Yes | 0 No |
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
what is Assemble
What are actions in asp.net mvc?
The order of the filters that get executed, if the multiple filters are implemented?
What is presentation framework?
What is CLR and how it generates native code ?
1 Answers Digital GlobalSoft, Vital Soft,
Can you write a class without specifying namespace? Which namespace does it belong to by default?
what is deferred loading(lazy loading)?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
What's an interface
Who defines the CAS code groups
About Assembly in .NET, types of assemblies, their difference, How to register into GAC. How to generate the strong names & its use ?
6 Answers Infosys, Microsoft, MMTS,