Question: How would you write a delegate named ResultCallback with an int parameter named responseCode?
- public delegate ResultCallback(int responseCode);
- public delegate void ResultCallback<(int) responseCode>;
- public void delegate ResultCallback\
; - public delegate void ResultCallback(int responseCode);
Answer: The correct answer of the above question is Option D:public delegate void ResultCallback(int responseCode);