January 2017
Intermediate to advanced
314 pages
6h 42m
English
Functions are the fundamental processing units in functional programming, and since they can be used like any other value, functions can be stored in variables, properties, objects, and collections. The term first-class function was created by Christopher Strachey.
Higher-order functions are functions that can either take other functions as arguments or return them as results.
C# supports higher-order functions (both named and anonymous), which are treated like ordinary variables with a function type.
C# provides the capability to define both generic functions and strongly typed delegates. The delegate type carries the method signature of a function prototype, and its instances become function ...
Read now
Unlock full access