1. Home
  2. Computer Science MCQs
  3. Dot NET
  4. In .NET, what should an async method that produces no…

Added 2 Nov 2026

In .NET, what should an async method that produces no result usually return?

  1. Thread
  2. IAsyncResult
  3. Task Correct answer
  4. void

Correct answer

C. Task

18 views

MCQSEXAM

Explanation

Returning Task lets callers await the method and catch its exceptions. async void should be used only for event handlers, because its errors cannot be awaited or caught by the caller.

Reference

Asked in: NTS, Technical Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Dot NET MCQs

Practise all Dot NET MCQs

Similar MCQs