using System; using System.Collections.Generic; public class A { public class B { private List> l = new List>(); protected void W(string s, Func f) { Action w = delegate(T[] d) { R[] r = new R[d.Length]; for (int i = 0; i < d.Length; i++) r[i] = f(d[i]); }; l.Add(w); } } } public class B { public static void Main () { } }