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 do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
What is the purpose of a web form?
Explain the request flow in asp.net mvc framework?
what is .edmx file and what it contains?
What is the .net framework and how does it work?
What is domain class model?
Explain the .net framework.
What is entity graph? : Entity framework
What is the use of razor view engine?
How to bind table colum with gridview column?
What is objectcontext? : Entity framework
What is Peek method in Tempdata in ASP.Net MVC?
What is managed extensibility framework?
What is action methods in web api?
What is latest version of .net framework?