How Garbage Collector identifies the objects which are not
in use?

Answer Posted / sri

In the Dotnet CLR maintains the Heap. It stores the Objects
which are recently used in the Top of the Heap. By using
this GC identifies the objects which are recently used and
which are not in use.

Is This Answer Correct ?    11 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is .net core faster than .net framework?

547


Why to use Html.Partial in ASP.Net MVC?

598


What is the 'page life cycle' of an ASP.NET MVC?

604


What are the main features of asp.net mvc 4 used by asp.net web api?

549


In which assembly is the mvc framework defined?

545






what is entity sql?

601


Is it possible to create a custom filter?

561


Which .net framework is installed?

502


What is edm (entity data model)? : Entity framework

542


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1971


explain lazy loading, eager loading, and explicit loading?

568


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

543


what is eager loading?

569


Can I remove .net framework?

541


What is code first? : Entity framework

565