repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
gtest-078.cs
blob
4ef3c9b44ff9119d195522d4cdf6415557fdfe5c
1
using
System
;
2
using
System
.
Collections
;
3
4
public class
Test
5
{
6
public static void
Main
()
7
{
8
foreach
(
object
o
in new
Test
())
9
Console
.
WriteLine
(
o
);
10
}
11
12
public
IEnumerator
GetEnumerator
()
13
{
14
foreach
(
int
i
in new
ArrayList
())
15
yield return
i
;
16
}
17
}