what are delegates? How you used then in your project?

Answer Posted / pankaj

Delegate means function pointer.
There are two types of de;egate
1-simple delegate
2-multicast delegate
ex---Suppose in a project u r using copy icon in two
application.then u need to use same code in two app which
based on some conditions.Here u can use delegate.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a delegate? Explain.

698


When a Static Constructor is called in a Class?

752


Can constructor be overloaded in c#?

647


What is private class in c#?

660


Is c# queue thread safe?

684


Do unused Namespaces in c# affect run-time performance?

713


Explain metadata in c#.

671


Is php easier than c#?

657


What is xaml file in c#?

706


What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

757


Can you have parameters for static constructors?

695


Explain the types of assemblies in .net?

701


What is class in oops with example in c#?

677


Can you inherit from a sealed class?

667


What are "class access modifiers" in C#?

708