What is GC (Garbage Collection) and how it works
Answer / 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 |
Briefly describe the roles of clr in .net framework?
Explain linq to entities? : Entity framework
Can we change web.config settings from iis?
reading doc file in textbox using .net2005 with c#
Requirement is: try { \\SQL Query } catch(Exception i) { print a } catch(SQLQueryException e) { \\SQL Query } Qu)I Got Exception in "try" block. Which "catch" statement (i.e. 1st catch or 2nd catch ) catches the exception and Why???
What is serialization in .NET? What are the ways to control serialization?
About namespaces ?
What are the new features 3.5 framework against with the tool?
about triggers?
How do you create shared assemblies ?
What is different between User Control and Web Control and Custom Control?
What is the CTS