EDIT: I originally thought this would only work with static
(non capturing) expressions, but it should work with captures too, so I crosses out "static
".
I think it is possible to allow static expressions and static methods to be used as generic arguments in C#. This would allow for more optimized functional programming without having to wrap functions inside custom struct types. Here is an example:
Overview Code Snippet 1 [click to expand]