Microsoft Exam Questions

Which method should you use?

You need to force an immediate garbage collection of all unused memory. Which method should you
use?

A.
WaitForFullGCComplete

B.
SuppressFinalize

C.
CollectionCount

D.
Collect