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 to change the action name in mvc?
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
In razor syntax, what is the escape sequence character for @ symbol?
What are action filters?
Explain Bundle.Config in ASP.Net MVC4?
Is dapper faster than entity framework?
What are the advantages of mvc over asp.net?
What are HTML Helpers, AJAX Helpers in ASP.Net MVC?
Where is the new functionality in the .net framework 3.0 (such as wcf, wf, wpf, and cardspace) installed to? Is that different from where the .net framework 2.0 is installed to?
Explain the 'page lifecycle' of an ASP.NET MVC?
How can I tell what .net framework is installed?
What is entity framework? : Entity framework
Explain the role of assembly in the .net framework.
Which .net framework is installed?
What is .net core framework?