What is a delegate, How many types of delegates?

Answers were Sorted based on User's Feedback



What is a delegate, How many types of delegates?..

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

What is a delegate, How many types of delegates?..

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

What is a delegate, How many types of delegates?..

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

What is a delegate, How many types of delegates?..

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

Post New Answer

More Dot Net General Interview Questions

what is the meaning silverligt control

0 Answers  


What is misl?

0 Answers  


What is a design pattern and what is it for?

0 Answers  


What is the difference between boxing and unboxing?

0 Answers  


Explain how to redirect tracing to a file?

0 Answers  






How do you turn off cookies for one page in your site? Give an example.

0 Answers  


Explain me what is a design pattern and what is it for?

0 Answers  


What is clr in .net?

0 Answers  


What is loosely coupled solution in.net?

0 Answers  


Please explain is the jit an interpreter?

0 Answers  


Tell us what do the following acronyms in .net stand for: il, cil, msil, cli and jit?

0 Answers  


What is the advantage of .net?

0 Answers  


Categories