Multiple choice technology programming languages

Which method would be used to invoke a delegate type asynchronously in C#?

  1. Invoke()

  2. StartInvoke()

  3. BeginInvoke()

  4. SetInvoke()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

BeginInvoke() is the correct method for asynchronous delegate invocation in C#. It initiates the delegate call on a thread pool thread and returns an IAsyncResult object for tracking. Invoke() executes synchronously, while StartInvoke() and SetInvoke() are not standard C# delegate methods.