My Report

C# Delegate Test – 1


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement

1. Which of the following is an incorrect statement about delegate?

2. Which among the following differentiates a delegate in C#.NET from a conventional function pointer in other languages?

3. To generate a simple notification for an object in runtime, the programming construct to be used for implementing this idea?

4. Which of the following statements is correct about a delegate?

5. Choose the incorrect statement about delegates?

6. Which among the following is the correct statement about delegate declaration?

delegate void del(int i);

7. Choose the incorrect statement among the following about the delegate?

8. To implement delegates, the necessary condition is?

9. Suppose a Generic class called as SortObjects is to be made capable of sorting objects of any type(integer, single, byte etc). Then, which of the following programming constructs is able to implement the comparison function?

10. The 'ref' keyword can be used with which among the following?


 

Start practicing “1000 MCQs on C#”, and once you are ready, you can take tests on all topics by attempting our “C# Test Series”.

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.