bring Mono Security to monotouch
[mcs.git] / tests / gtest-anon-52.cs
blob733e64a5d41fa3b9859241f76cede3dfe8c78956
1 using System;
2 using System.Collections.Generic;
4 public class A<T>
6 public class B
8 private List<Action<T[]>> l = new List<Action<T[]>>();
10 protected void W<R>(string s, Func<T, R> f)
12 Action<T[]> w = delegate(T[] d)
14 R[] r = new R[d.Length];
15 for (int i = 0; i < d.Length; i++)
16 r[i] = f(d[i]);
18 l.Add(w);
23 public class B
25 public static void Main ()