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 Resource Files ? How are they used in .NET

1 Answers  


What is the difference between STA and MTA?

3 Answers  


about triggers?

6 Answers   CSC,


What is latest version of .net framework?

0 Answers  


When will the .net framework 3.0 be released?

0 Answers  






Can I uninstall microsoft .net framework?

0 Answers  


What is gacutil.exe. Where do we store assemblies ?

5 Answers   Accenture, BirlaSoft,


js fn to go to the particular page when enter is clicked

1 Answers  


Explain the methods used to render the views in ASP.Net MVC?

0 Answers  


In which testing using in .net framwork?

2 Answers  


I couldnot answer for projects bcz i have 2+ fake experience.can you please tell me how to answer..?

2 Answers   IBM,


How can I return string result from action in asp.net mvc?

0 Answers  


Categories