what is delegats ?

Answers were Sorted based on User's Feedback



what is delegats ?..

Answer / ravi sachdeva

A delegate object encapsulates a reference to a method.

Is This Answer Correct ?    3 Yes 0 No

what is delegats ?..

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

what is delegats ?..

Answer / @tul

Delegate is a referance type variable that hold the reference to a method.......

Is This Answer Correct ?    0 Yes 0 No

what is delegats ?..

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

Post New Answer

More Programming Languages AllOther Interview Questions

What are the five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


can we allocate memory for interface? if no then why?

0 Answers  


To sorting array of 10 elements which sorting is best a)selection b)bubble c)tree sort

2 Answers   HP, Hughes,


what is delegats ?

4 Answers  


Find out the list of authorization objects which contains activity as a field? Thanks in advance.

0 Answers  






What is meaning of web application. & the purpose of web application. with description.

1 Answers  


diffrence between oracle apps , .NET , SAP

0 Answers  


what is client server & server? What r types of Joins? explsin it! which types of indexex in sql server? what is triggers?

0 Answers  


Fortran cannot have value by reference True or False?

2 Answers   Geometric Software,


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?

1 Answers   CTS, IBM,


Difference between interface and abstract class?

2 Answers   Cognizant, CTC,


7.x=10; y=20; x<<2=? x<<1=? y>>2=?

1 Answers  


Categories