Can we force garbage collector to run ?

Q

.NET INTERVIEW QUESTIONS - Can we force garbage collector to run ?

✍: Guest

A
System.GC.Collect() forces garbage collector to run. This is not recommended but can be used if situations arises.

2010-03-30, 4028👍, 0💬