* HttpChannel.cs, HttpClientChannel.cs, HttpHelper.cs, HttpServer.cs,
[mono.git] / mcs / tests / 2test-3.cs
1 using System;
2 using System.Collections;
3
4 class X {
5         static IEnumerable GetIt ()
6         {
7                 Console.WriteLine ("hello");
8                 yield 1;
9                 yield 2;
10                 yield 3;
11         }
12         
13         static void Main ()
14         {
15                 foreach (int i in GetIt ()){
16                         Console.WriteLine ("Value=" + i);
17                 }
18                 
19         }
20 }