What is Garbage Collection in .Net and what is the Garbage
collection process?

Answer Posted / sadhvi

Garbage Collector:-
In dot net garbage collector are written as GC.Collect ().
Garbage collector remove the unreferenced object which are
also known as Orphans object and these object occupied some
memory which is reused, for this concept of memory
reusability Garbage collector are used.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between panel and groupbox classes using .net?

539


What is immutability?

565


Which namespace does it belong to by default?

567


What is singleton activation mode in .net?

683


Difference between value type & reference types ?

587






How to convert a .NET object into COM operabililty?

573


Explain Creational design pattern in .NET?

615


When we use windows api in .net is it managed or unmanaged code?

560


Explain me how does linq work?

585


Explain the main components in .net?

556


What should you do to store an object in a viewstate?

561


What is web.config in .net?

581


Define code access security (cas)?

560


What are the differences between an interface and an abstract class in .net?

512


How is .net core cross platform?

625