what is a delegate? what it is used for?
Answers were Sorted based on User's Feedback
Answer / ganesh
Delegates are a type that references method. Normally when
we calling a method we will pass some data to that method
as input parameter. But in some scenario we might need to
pass method as input parameter to other method in such case
we can use delegate.
Delegate wraps any method which matches its signature,
calling a delegate result in calling a method so this gives
the ability to call the method programmatically based on
our business needs.
hgfhfghbgf
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / s.jayaprathap.
Delegate is a class that can hold the reference to a method
of a function.Pointers are call back......
| Is This Answer Correct ? | 0 Yes | 0 No |
Where do we use serialization in c#?
What are the advantages of using c#?
What does async mean in c#?
how to use caching in our program. why we use it give one example in code
How can you sort the elements of the array in descending order?
What is dependency injection?
What are c# collections?
Tell me the difference between call by value and call by reference.
How to authenticate web service? When you enter the web service url in browser it should ask username and password. After entering the un&pwd we have to show its methods and service description(wsdl).
How are methods overloaded?
What is multicast delegate explain with example?
What is data quality assurance?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)