Question Detail

COM 101 COM 101 Past Questions Objective Question

Question

Which of the following operator is applied to an operand in an asynchronous method or lambda expression to suspend execution of the method until the awaited task completes?
Options
A AddressOf
B GetType
C Await
Correct Answer
D Param
Correct Answer

Option C is the correct answer.

Detailed Explanation

In asynchronous programming (e.g., in C#), the 'await' operator is applied to a task to suspend execution of the method until the task completes, without blocking the thread.

Hint

This keyword 'waits' for an async operation to complete.

Question Info