Created
March 17, 2016 13:49
-
-
Save testfirstcoder/e934914fa14332d972a1 to your computer and use it in GitHub Desktop.
Pipelining of functions
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
public static class Functional | |
{ | |
public static TResult Do<T, TResult>(this T self, System.Func<T, TResult> func) => func(self); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment