using System; using System.Collections.Generic; using System.Linq; using System.Text; class MainClass { static void Main() { Func<int, Func<int, int>> accumulatorGenerator = (n => (i => n += i+8)); var accumulator = accumulatorGenerator(1); Console.WriteLine(accumulator(1)); } }