Which garbage collector method should you use?
A. RemoveMemoryPressure()
B. ReRegisterForFinalize()
C. WaitForFullGCComplete()
D. KeepAlive()
Answer:D
Which garbage collector method should you use?
A. RemoveMemoryPressure() B. ReRegisterForFinalize() C. WaitForFullGCComplete() D. KeepAlive()
Explanation: The purpose of the KeepAlive method is to ensure the existence of a reference to an object that is at risk of