what is delegats ?
Answers were Sorted based on User's Feedback
Answer / ravi sachdeva
A delegate object encapsulates a reference to a method.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shankar0975
To put it in simple words, a delegate is a function pointer.
It can be used in the code such that it will reference to a
particular function.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / @tul
Delegate is a referance type variable that hold the reference to a method.......
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nadeem khokhar
we can pass a whole function to a delegate as a parameter and also can define its body over there. i don't know the exact code but similar to this
draw(print(){
int a=5;
console.WriteLine(a);
})
Is This Answer Correct ? | 0 Yes | 0 No |
What are the five tracing levels in System.Diagnostics.TraceSwitcher?
can we allocate memory for interface? if no then why?
To sorting array of 10 elements which sorting is best a)selection b)bubble c)tree sort
what is delegats ?
Find out the list of authorization objects which contains activity as a field? Thanks in advance.
What is meaning of web application. & the purpose of web application. with description.
diffrence between oracle apps , .NET , SAP
what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?
Fortran cannot have value by reference True or False?
This is the portal and portlet interview question API: is JSR 168 API Server: is ibm web sphere portal server6.0 IDE: is RAD 7.0 Question:In normal struts what is the actionservlet? Ans:org.apache.struts.action.ActionServlet. But What is the actionservlet in strutsportlet?
Difference between interface and abstract class?
7.x=10; y=20; x<<2=? x<<1=? y>>2=?