eol
[mcs.git] / tests / gtest-164.cs
blob5863084801c5bb856459e1b49c7ece6f1605cf81
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
5 public delegate int Int2Int (int i);
7 public class FunEnumerable
9 int size;
10 Int2Int f;
12 public FunEnumerable(int size, Int2Int f)
14 this.size = size; this.f = f;
17 public IEnumerator<int> GetEnumerator()
19 yield return f (size);
23 class X
25 static void Main ()
26 { }