Which code segment should you add?

You are implementing an ASP.NET application that includes the following requirements. Retrieve the number of active bugs from the cache, if the number is present.
If the number is not found in the cache, call a method named GetActiveBugs, and save the result under the ActiveBugs cache key. Ensure that cached data expires after 30 seconds.
You need to add code to fulfill the requirements. Which code segment should you add?
A.

B.

C.

D.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.