2 using System
.Collections
;
3 using System
.Collections
.Generic
;
5 public delegate int Int2Int (int i
);
7 public class FunEnumerable
12 public FunEnumerable(int size
, Int2Int f
)
14 this.size
= size
; this.f
= f
;
17 public IEnumerator
<int> GetEnumerator()
19 yield return f (size
);
25 public static void Main ()