C# Programming - Delegates - Discussion
Discussion Forum : Delegates - General Questions (Q.No. 1)
1.
Which of the following statements is incorrect about delegate?
Discussion:
21 comments Page 2 of 3.
Vishwadeep said:
1 decade ago
Synchronous: simultaneously process is Main Intention of Delegates.
If a delegate has do not return any value, it is a multicast delegate that can invoke multiple methods.
Invoke all the delegates with the combined delegates DynamicInvoke property.
Delegates are invoked in the order they are added.
If a delegate has do not return any value, it is a multicast delegate that can invoke multiple methods.
Invoke all the delegates with the combined delegates DynamicInvoke property.
Delegates are invoked in the order they are added.
Kiran said:
1 decade ago
There are two types of Delegates.
1) Single Delegate.
2) MultiCast Delegate.
It supports These type of delegates.
1) Single Delegate.
2) MultiCast Delegate.
It supports These type of delegates.
Pratik said:
1 decade ago
Multicast Delegate can call more than one method.
Mahesh said:
1 decade ago
You can call multiple methods using "+" operator with delegate. :).
Shahbaz chaudhary said:
1 decade ago
But correct answer is show delegate can only one method called but everybody say delegate can be called more than one method at same time. So please give me correct answer i am confuse of this query and I don't know more about delegate.
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.
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.
Shailesh yadav said:
9 years ago
Delegates is referenced type. Its allow you to change the reference to a method at run time.
Alazar said:
8 years ago
D can also be an answer! A delegate in C# is similar to a function pointer in C or C++.
Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked.
Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which method will be invoked.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers