using System; delegate int NumericSequence(); class Test { static void Main() { int seed = 0; NumericSequence natural = () => seed++; Console.WriteLine(natural()); Console.WriteLine(natural()); } }