using System; using System.Collections.Generic; public class TestCase { public static void Main () { Test (new IList [] { new int[] { 1, 2, 3 } }); } public static void Test (IList> l) { Action action = delegate { var temp = l; Func>, int> f = a => 1; f (temp); }; action (); } }