What is a delegate, How many types of delegates?
Answers were Sorted based on User's Feedback
Answer / praveena
A delegate is a strongly type of pointers.through delegate
we can call any function even the class is sealed & with
delegate we can create our own events to the controls there
are 2 type of delegate they are 1.single delegate
2.multicast delegate ...
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / sathya
Delegate is a type-Safe Function Pointer.It Point of the
Function with Same Signatures.It Use Secure.We Can
Indirectly Call the method at Run time.It Gives Reference of
the method.
It Use Result Display At Form load.It Have a Two
types.Simple delegate,MultiCast delegate.
Simple Delegate: It Call One method at run time.
Multicast Delegate: It Call More than one method at run time.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / vidhya
Delegate is like a pointers in c or c++.delegate is an
object that holds the reference to a method.Two types of
delegate.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / samuel
a delegate can defined as type-safe function pointer. it encapsulates the memory address of a function in your code.
whenever you create or use a event in code,you are using the delegate
declaration: private delegate sumydelfun()
| Is This Answer Correct ? | 2 Yes | 0 No |
1.What is the major advantage of polymorphism? Please don't simply say binding. Specify any other reason.
What is singlecall activation mode used for in .net?
What makes .net core cross platform?
How to customize the trace output?
Explain what is the difference between a class and an object, and how do these terms relate to each other?
Describe the start-up process for a Windows service.
What are the drawbacks for Model-View-Controller Architecture?
What is the difference between web application and enterprise application?
Explain what are possible implementations of distributed applications in .net?
for the textbox if i want to allow only numbers.what ever the characters u enter it should not take.which event u used?
What is cyclomatic complexity and why is it important?
What is nmake tool?