Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Delegates
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. */ } }
delegate d(int i, Single j);
delegate void d(int, Single);
delegate int d(int i, Single j);
delegate void (int i, Single j);
delegate int sample.func(int i, Single j);
Show Answer
Correct Answer:
delegate int d(int i, Single j);
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment