Anonymous user
Higher-order functions: Difference between revisions
m
→Lambdas: Whoops, result type is at the end.
(Added C# 1+, 2+, 3+ examples.) |
m (→Lambdas: Whoops, result type is at the end.) |
||
Line 347:
===Lambdas===
Lambda functions are syntactic sugar for anonymous functions. The <code>System</code> namespace also gained some common delegates, such as <code>Func<T0, T1, T2></code>, which refers to a function that returns a value of type <code>
{{works with|C sharp|C#|3+}}
|