PrepAway - Latest Free Exam Questions & Answers

Which garbage collector method should you use?

You are developing an application by using C#.
The application includes an object that performs a long running process.
You need to ensure that the garbage collector does not release the object’s resources until
the process completes.

Which garbage collector method should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
RemoveMemoryPressure()

B.
ReRegisterForFinalize()

C.
WaitForFullGCComplete()

D.
KeepAlive()

2 Comments on “Which garbage collector method should you use?


Leave a Reply