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 we inherit a private class in chsarp? how? explain(with code) ?
Which of the following API is used to hide a window?
Which is the best institute in hyderabad to learn Sharepoint Portal?
what is used ref keyword in c#,and how we used it?
What is multicast delegate explain with example?
How to Install uninstall assemblies into GAC?
What is the root element of an xml file?
What are cshtml files?
How many bytes is an int in c#?
how to calculate multiple pdf files page count?
What is default method in c#?
Is static class thread safe in c#?
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)