why we are using delegates and in which condition it is
required?
Answers were Sorted based on User's Feedback
Answer / praveenkumarreddy.m
Delegates are used to refer multiple functions.Delegates
used in creating events in c#.net.
Is This Answer Correct ? | 11 Yes | 1 No |
Answer / santosh
delegates are similler to function pointers.. main it is
callback methods.. we can call the methods at time more
than one methods.. delegates are 2 types 1.single cast
delegets 2.multicaste delegates like sysntax:
access modifiers delegate returntype
delegatename("arguments")
{
}
// creating reference for delegates
objectname.delegatename();
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / santosh bind
When the pass method as argument
Ex- public Delegate void AddNum(int a,int b)
Is This Answer Correct ? | 0 Yes | 0 No |
What is a viewstate?
What is the significance of attaching a profile while creating a user?
how to retrieve property settings from xml .config file.
What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup
How to communicate via Remote proxy with Client? a)MarshalByRef b)Marshal by Value or Any thing else?
Why Global.asax is used?
What is difference between ASP and ASP.NET ?
Hi, I Dont know about Application and Session State management. Can anyone explain me with simple example?
How can I create master page in asp net?
How Response.flush works in server.Execute ?
1 Answers Keane India Ltd, TCS,
Who creates jsessionid?
What does the "EnableViewState" property do? Why would I want it on or off?
2 Answers Photon Infotech, Siebel Systems, Syntax Softtech,