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 |
Can abstract classes be final?
How does c# generics and c++ templates compare?
Does c# support multiple class inheritance?
Tell me the difference between value passing and address passing?
what is accessspecifier and explation each with example?
What is fcl in c#?
Types of polymerphism and explain about dynamic polymerphism?
What are the different types of classes?
Explain the process of polymorphism with an example?
What is overloading and how can this be done ?
Can you see a loop recorder?
Any problem found in vs.et
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)