Question: What is the correct way to write an event named apiResult based on a delegate named ResultCallback?
- public void event ResultCallback apiResult;
- public event ResultCallback(() -> apiResult);
- public event void ResultCallback
- public event ResultCallback apiResult;
Answer: The correct answer of the above question is Option D:public event ResultCallback apiResult;