Created
October 27, 2011 14:06
-
-
Save jasonporritt/1319633 to your computer and use it in GitHub Desktop.
Memoization in C#: Declaration as Property
This file contains hidden or 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 Func<string, string> WithOneInput = Memoizer.Memoize( | |
(string x) => | |
{ | |
return String.Format("Hello, {0}", x); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment