2 using System
.Collections
;
6 static public IEnumerable Empty
{
8 object [] os
= new object [] { }
;
9 foreach (object o
in os
) {
17 IEnumerator enumerator
= Empty
.GetEnumerator();
18 if (enumerator
.Current
== null)
19 Console
.WriteLine("Successful");
20 enumerator
.MoveNext();
21 if (enumerator
.Current
== null)
22 Console
.WriteLine("Successful");