Created
January 7, 2015 00:20
-
-
Save mausch/758f1bc7a6d6877229a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
static class L { | |
public static Func<T> F<T>(Func<T> f) { return f; } | |
// add overloads for other arities | |
} | |
class Program { | |
static void Main(string[] args) { | |
int i = L.F(() => 0)(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment