

MCQOPTIONS
Saved Bookmarks
1. |
Which of the following are the correct ways to declare a delegate for calling the function func() defined in the sample class given below? class Sample { public int func(int i, Single j) { /* Add code here. */ } } |
A. | Delegate d(int i, Single j), |
B. | Delegate void d(int, Single), |
C. | Delegate int d(int i, Single j), |
D. | Delegate void (int i, Single j), |
Answer» D. Delegate void (int i, Single j), | |