70-483 Programming in C#

Loading demo links...

Showing 13–15 of 15 questions

Question 13 (Volume A)

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?

Select an option, then click Submit answer.

  • WaitForFullGCComplete()

  • SuppressFinalize()

  • collect()

  • RemoveMemoryPressure()

Question 14 (Volume B)

You have the following code:

You need to retrieve all of the numbers from the items variable that are greater than 80.

Which code should you use?

Select an option, then click Submit answer.

  • Option A

  • Option B

  • Option C

  • Option D

Question 15 (Volume A)

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?

Select an option, then click Submit answer.

  • ReRegisterForFinalize()

  • SuppressFinalize()

  • Collect()

  • WaitForFullGCApproach()