MCQs > IT & Programming > C# > Which of the following is the correct way to call the function Jobs(int i) of the UpWork class given below? class UpWork { public int Jobs(int i) { Console.Writeline('UpWork!'); return 0; } }

C# MCQs

Which of the following is the correct way to call the function Jobs(int i) of the UpWork class given below? class UpWork { public int Jobs(int i) { Console.Writeline("UpWork!"); return 0; } }

Answer

Correct Answer: delegate int del(int i); del d; UpWork u = new UpWork(); d = new del(ref u.Jobs); d(10);

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More C# MCQ Questions

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it