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 |
hi wrever i go thy r asking depth abt 3-tier architecture i.e, hw to deploy 3 layers into 3 servers i do nt have much idea on deployment. can any one send me the tips or code if u hav kindly mail me.
What happens if an ASP.NET server control with event-handling routines is missing from its definition?
What you mean by partial Class in asp.net 2.0?
What is difference between cache and session?
True or False: To test a Web service you must create a windows application or Web application to consume this service?
What are clr?cts?cls?
4 Answers e4e, HCL, Microsoft, Tata Communications,
Explain MVC model binders?
What is the sequence in which ASP.NET events are processed?
Can anyone please tell me that the question posted on this website are Sufficient for the interview with 2+ year experience in .net
What are web beacons used for?
What is Assembly?
3 Answers Inspira Technologies,
Difference between singleton and singlecall.