Evil Code 0001 : Lambda and Ref/out

What would be output of following ?

        static void Main(string [] args)
            List< int> numlist = new List< int>() {1,2, 3, 4, 5, 6, 7 };
            CalculateAndPrint( ref numlist);
        public static void CalculateAndPrint( ref List< int> Num)
            var n = Num.Where(d => d > Num[2]);
            foreach ( var item in n)

The most obvious answer is 4,5,6,7. However that’s not. This code refuses to compile because Lamba expressions  cannot accept variables that are declared in an outer scope.

Hello world!

Hello Readers.

A short intro of myself. Am writing codes for bread since 2005, focusing mainly on .Net and related tecahnologies. I have some experience into process side of development, being in the Process Group for CMMI appraisals and know a bit about the nuisances of Process Areas up to Level 3.

My primary hobby is Photography.