Skip to content

Instantly share code, notes, and snippets.

@testfirstcoder
Created March 17, 2016 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save testfirstcoder/e934914fa14332d972a1 to your computer and use it in GitHub Desktop.
Save testfirstcoder/e934914fa14332d972a1 to your computer and use it in GitHub Desktop.
Pipelining of functions
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