linux-packaging-mono/mcs/tests/test-anon-49.cs

18 lines
372 B
C#
Raw Normal View History

using System;
using System.Collections;
public class Test
{
public static void Main ()
{
foreach (object o in new Test ())
Console.WriteLine (o);
}
public IEnumerator GetEnumerator ()
{
foreach (int i in new ArrayList ())
yield return i;
}
}