Lambda Expression
A lambda expression is an expression creating an anonymous function in memory that can be used as a value. It is a way to define a function without giving it a name, and it can be used in the same way as a named function.
When creating a lambda expression it will be of type
Func<ARGS..., RET>
, where ARGS...
is a list of arguments the function takes and RET
is the
return type of the function.