What is a delegate, How many types of delegates?

Answer Posted / samuel

a delegate can defined as type-safe function pointer. it encapsulates the memory address of a function in your code.
whenever you create or use a event in code,you are using the delegate
declaration: private delegate sumydelfun()

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is DTS and explain the purpose of it?

587


Tell us what is json data, and what is one way that .net developers can work with json?

564


When we go for html server controls and when we go for web server controls?

535


What is managed code execution?

596


Explain the difference between the stack and the heap?

532






What is the purpose of IClonable interface in .NET?

596


How many types of transactions are there in com + .net ?

568


Show different types of collection in .NET?

584


State the various features present in .NET?

595


Can you explain what do you understand about web service?

602


Do I have any control over the garbage collection algorithm?

549


Explain the different parts of an assembly?

579


What are .net applications?

540


What is the use of immutability?

596


Please explain what is the difference between encrypting a password and applying a hashing?

542