Showing posts with label Predicate. Show all posts
Showing posts with label Predicate. Show all posts

Wednesday, 10 February 2016

Difference between Delegate, Func, Action and Predicate.

Lets first see what is delegate.

If you will say delegate always one thing is come into our mind, a function pointer calling as an argument.
But it’s no sense with this Definition its showing the concept of use of delegate it won’t say why we need it and when we need this delegate.
For this we need to check with the English meaning of delegate, a representative. e.g Indian delegate go to US to deal something.
So this representative will give the time to time details of the operation and this delegate is the wrapper for our India which we hide but to present to the US also.