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

Explain the types of operations? Draw the figure for shift and rotate operations?

0 Answers  


what is delegate and how works delegate and event.

0 Answers   NIIT,


what is static objects in java

2 Answers  


write a sql qwery which include joining of two tables 4 marks mainframe

0 Answers  


what are the advantages of sap on other software ?

0 Answers  






what is different betweet class and interface in java?

2 Answers   Microsoft, Sun Microsystems,


the systematic access of small computers in a distributed data processing system is referred as?

0 Answers   Mphasis,


3. What is the difference between testing and Quality Assurance?

0 Answers  


Expand the following a) ISDN b) CASE c) CSMA/CD d) OOPS e) MIMD

4 Answers   CTS,


How do i find out the number of parameters passed into function?

0 Answers  


MOV.CB 007H,ADCON1 MOVE.CT 001H,_OPTION_REG_7 MOV.CB 007H,CMCON

0 Answers  


in a VB application, where the data will be stored after manipulation? what is the syntax for that?

0 Answers   TCS,


Categories