![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Data Access and Operations - slide 33 : 45 |
A delegate is a type the values of which consist of methods
Delegates allow us to work with variables and parameters that contain methods
![]() | A Delegate of simple numeric functions. |
![]() | Output from the NumericFunction delegate program. |
![]() | Output from the Compose delegate program. |
Delegates make it possible to approach the functional programming style
Methods can be passed as parameters and returned as results to and from other methods
![]() | Finding and sorting elements in an array |