C# Programming - Delegates - Discussion

Discussion Forum : Delegates - General Questions (Q.No. 12)
12.
Which of the following statements is incorrect about a delegate?
A single delegate can invoke more than one method.
Delegates can be shared.
Delegate is a value type.
Delegates are type-safe wrappers for function pointers.
The signature of a delegate must match the signature of the method that is to be called using it.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
6 comments Page 1 of 1.

Gautam said:   7 years ago
No, Delegate is a reference type.

Shivanshu said:   8 years ago
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.

Pankaj kumar singh said:   9 years ago
Please, show the correct option. A delegate is a reference type.

Pankaj singh said:   9 years ago
A delegate is a reference type.

Yelani said:   1 decade ago
That is incorrect.
A delegate is a reference type that can be used to encapsulate a named or an anonymous method.

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

Post your comments here:

Your comments will be displayed after verification.