Created
April 3, 2020 18:13
-
-
Save davidelettieri/769d766be9093c6697d4ccdae60d1a07 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
public static Func<T, T> ToFunc<T>(Action<T> a) | |
{ | |
return t => | |
{ | |
a(t); | |
return t; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment