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
//Use this
System.GC.Collect();
System.GC.WaitForPendingFinalizers();
| Is This Answer Correct ? | 8 Yes | 0 No |
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 |
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 |
Which is the best institute for .net?
Can a view be shared across multiple controllers? If yes, how we can do that?
How to make sure Client Validation is enabled in ASP.Net MVC
How you can implement custom validation in asp.net MVC?
What is different between User Control and Web Control and Custom Control?
What is the .net framework and how does it work?
Can I redirect tracing to a file
What is .net framework & its benefits?
Which filter executes first in an asp.net mvc application?
In Server how to check whether model has error or not in ASP.Net MVC
What is Dependency Injection in ASP.Net MVC
explain what is ado.net entity framework?