Answer Posted / kirti
One of the good features of the CLR is Garbage Collection, which runs in the background collecting unused object references, freeing us from having to ensure we always destroy them. In reality the time difference between you releasing the object instance and it being garbage collected is likely to be very small, since the GC is always running.
[The process of transitively tracing through all pointers to actively used objects in order to locate all objects that can be referenced, and then arranging to reuse any heap memory that was not found during this trace. The common language runtime garbage collector also compacts the memory that is in use to reduce the working space needed for the heap.]
Heap:
A portion of memory reserved for a program to use for the temporary storage of data structures whose existence or size cannot be determined until the program is running.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I tell what .net framework is installed?
List the new features added in .net framework 4.0.
What is the difference between partial and renderpartial?
What is controllercontext?
Can I add mvc testcases in visual studio express?
Which version of .net framework is installed?
How do you specify comments using razor syntax?
What “beforFilter()”,“beforeRender” and “afterFilter” functions do in Controller?
Describe the gac in the .net framework.
mention in what all scenarios entity framework can be applicable?
What are the options can be configured in AJAX helpers?
What are the 2 popular asp.net mvc view engines?
What is route config?
What is difference between Viewbag and Viewdata in ASP.NET MVC?
What are scaffold templates in mvc?