If we want to construct our own Garbage collector what are
the steps things we have to do?

Answers were Sorted based on User's Feedback



If we want to construct our own Garbage collector what are the steps things we have to do?..

Answer / amit kumar sharma

//Use this
System.GC.Collect();
System.GC.WaitForPendingFinalizers();

Is This Answer Correct ?    8 Yes 0 No

If we want to construct our own Garbage collector what are the steps things we have to do?..

Answer / suresh mediboyina

If we want to call the Garbage collector,use this command


system.gc.collect()

Is This Answer Correct ?    1 Yes 0 No

If we want to construct our own Garbage collector what are the steps things we have to do?..

Answer / venu

Hi,

If you want to implement your own GC, you need to define
you own memory cleaning by implementing destructors.

Also you have configure your GC in a separate long running
thread which should be of Daemon Thread. (Background
thread).

Venu.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Dot Net Framework Interview Questions

What are the components required to create a route in mvc?

0 Answers  


Which is the best institute in hyderabad to learn DotNet?

152 Answers   Cygnet Infotech, Infosys, Student, SVIT, TCS,


What is definingquery in entity framework? : Entity framework

0 Answers  


What's the .NET class that allows the retrieval of a data element using a unique key

1 Answers  


Features in .net framework 1.1 ?

1 Answers   Digital GlobalSoft,






What is the significance of nonactionattribute?

0 Answers  


Explain something about model, view and controllers in asp.net mvc?

0 Answers  


how do you truncate a table using entity data model?

0 Answers   Microsoft,


How we can invoke child actions in ASP.Net MVC?

0 Answers  


Where are the routing rules defined in an asp.net mvc application?

0 Answers  


How we can call a JavaScript function on the change of a Dropdown List in ASP.Net MVC?

0 Answers  


WHICH IS THE BEST INSTITUTE FOR DOTNET REAL TIME PROJECT TRAINING

21 Answers   ABC, Cap Gemini, Comspark,


Categories