Skip to content

Instantly share code, notes, and snippets.

@jasonporritt
Created October 27, 2011 14:06
Show Gist options
  • Save jasonporritt/1319633 to your computer and use it in GitHub Desktop.
Save jasonporritt/1319633 to your computer and use it in GitHub Desktop.
Memoization in C#: Declaration as Property
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