What is a delegate?

Question:What is a delegate?

1.A delegate is an object or collection initializer that adds flexibility, readability and maintainability in C#.

2.A delegate in .NET is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object.

3.A delegate is a collection initializer that adds flexibility, readability and maintainability in .NET.

4.A delegate is an extension method. Using a delegate allows the programmer to add flexibility, readability and maintainability in .NET.


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!