You work as a senior developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
You are running a training exercise for junior developers. You are currently discussing a garbage
collector method that requests the system not call the finalizer for a specified object.
Which of the following is the method being discussed?
A.
The KeepAlive method.
B.
The SuppressFinalize method.
C.
The PublicizeFinalize method.
D.
The CancelFullGCNotificationmethod.
Explanation:
Option B
https://msdn.microsoft.com/en-us/library/system.gc.suppressfinalize(v=vs.110).aspx
a
It says a specific object
GC.SuppressFinalize Requests that the common language runtime not call the finalizer for the specified object. https://msdn.microsoft.com/en-us/library/system.gc.suppressfinalize(v=vs.110)
So answer is B