C# Programming - Delegates - Discussion

Discussion Forum : Delegates - General Questions (Q.No. 1)
1.
Which of the following statements is incorrect about delegate?
Delegates are reference types.
Delegates are object oriented.
Delegates are type-safe.
Delegates serve the same purpose as function pointers in C and pointers to member function operators in C++.
Only one method can be called using a delegate.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
21 comments Page 2 of 3.

Jilajeet said:   1 decade ago
We can call multiple method at time in delegate by using "+" operator in multicast. So I think last option is incorrect.

Kiran said:   1 decade ago
There are two types of Delegates.

1) Single Delegate.

2) MultiCast Delegate.

It supports These type of delegates.

Sreekanth ravula said:   1 decade ago
We are calling more than one method by using unicast delegate also but the method name should be same.

Shailesh yadav said:   9 years ago
Delegates is referenced type. Its allow you to change the reference to a method at run time.

Animesh Kumar said:   1 decade ago
Multiple methods can be called using a multi-cast delegate..
using += operator.

Serega Polyakov said:   1 decade ago
The answer is E, because we can use multiple methods using one delegate.

Vineet kumar said:   9 years ago
This option is incorrect as we have multicast delegates for the same.

Mahesh said:   1 decade ago
You can call multiple methods using "+" operator with delegate. :).

Kuldip said:   6 years ago
We can also use the multi-cast delegates with one or more method.

Pratik said:   1 decade ago
Multicast Delegate can call more than one method.


Post your comments here:

Your comments will be displayed after verification.