The little memoization library.
Func<int,int> increment = x => x + 1; var memoised = increment.Memoise(); int result = memoise(1,2);