C# Programming - Delegates - Discussion

Discussion :: Delegates - General Questions (Q.No.12)

12. 

Which of the following statements is incorrect about a delegate?

[A]. A single delegate can invoke more than one method.
[B]. Delegates can be shared.
[C]. Delegate is a value type.
[D]. Delegates are type-safe wrappers for function pointers.
[E]. The signature of a delegate must match the signature of the method that is to be called using it.

Answer: Option C

Explanation:

No answer description available for this question.

Sharad said: (Aug 1, 2011)  
Delegate is a reference type variable which holds the reference to a method. This reference can be changed at runtime, as desired.

Yelani said: (Apr 4, 2012)  
That is incorrect.
A delegate is a reference type that can be used to encapsulate a named or an anonymous method.

Pankaj Singh said: (Apr 5, 2016)  
A delegate is a reference type.

Pankaj Kumar Singh said: (Apr 15, 2016)  
Please, show the correct option. A delegate is a reference type.

Shivanshu said: (Mar 30, 2017)  
It's like reference pointer so it always have a reference to the variable or function and hence the value modified will directly affect the original defined values.

Gautam said: (Jul 7, 2018)  
No, Delegate is a reference type.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.