**** Merged from MCS ****
[mono-project.git] / mcs / tests / gen-77.cs
blob4c7da6c8df3ffbcdbe9e1e412c4453d2195e20b1
1 // Compiler options: -r:System
2 using System;
3 using System.Collections.Generic;
5 public class X {
6 public static void Main(string[] args)
8 Collection<int> list = new Collection<int>();
9 list.Add (3);
10 foreach (int i in list) {
11 Console.WriteLine(i);