, , , , , . :
Action blah(Dictionary<string, int> dict, List<string> list)
{
int i;
list.ForEach( (st) => if (dict.Contains(st)) i++; );
return () => Console.WriteLine("The value was {0}", i);
}
. dict i, . i, . , , .
, , dict int[1], int[1]; int[1], . , , , .