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.
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.
Animesh Kumar said:
1 decade ago
Multiple methods can be called using a multi-cast delegate..
using += operator.
using += operator.
Santosh kitta said:
1 decade ago
Delegate is an a object that can to method it is allow you to dynamically change the reference to method in a class,
Delegate is reference type variable which holds reference to method. This method can be change at run time.
Delegate is reference type variable which holds reference to method. This method can be change at run time.
Ashwani kumar said:
1 decade ago
We are calling more than one method by using unicast delegate also but the method name should be same. Delegate is similar function pointer. C# does not support the pointer but delegate is use in function pointer.
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.
Sunil Kumar Singh said:
1 decade ago
In C and C++ we use the function pointer in this a function hold the reference of another function which is similar as of the function pointer. Since C# does not support the pointer so we use the delegate here in place of function pointer.
Ravindar Nath Mishra said:
1 decade ago
We can call multiple method multicast delegate. Each delegate object are created, by default maintains an invocation list, which is the list of methods that are encapsulated into the delegate object. The invocation list of multicast delegates contains multiple methods that are invoked in the order they were added.
Hema said:
1 decade ago
We can call multiple methods by using delegates.
Jeet said:
1 decade ago
Yes but delegates is much more tan just a function pointer as it is in c and cpp, moreover delegates are much more heavy as compared to the function pointers in c and cpp.
Sean Johnson said:
1 decade ago
There are two types of delegates: Unicast and Multicast delegates.
In Unicast ,at time only one method is associated with single cast delegate.
In Multicast delegate, at a time two or more methods is associated with delegates. i.e a delegate is refrencing to two or more methods.
So the anwer is E.
In Unicast ,at time only one method is associated with single cast delegate.
In Multicast delegate, at a time two or more methods is associated with delegates. i.e a delegate is refrencing to two or more methods.
So the anwer is E.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers