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 interval time of GC in .net
Define view state.
Is asp.net and .net same?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
Is asp.net a language?
Explain the difference between an exe and a dll?
Difference between DataView and DataTable
How many types is controls is there in Asp.Net?If it means what are types of custom controls?Explain about user controls,Web server controls,Hrml server controls?
What does passport and windows authentication mean in ASP.NET?
Explain the disadvantages of viewstate?
What are the Types of objects in ASP
How to retrieve the information from datatable citywise in c#?