コード例 #1
0
 /// <summary>
 /// Takes a Box of numbers and produces a box of doubled numbers
 /// </summary>
 private static Box <int[]> DoubleMyBox(Box <int[]> boxOfIntegers)
 {
     return(from extract in boxOfIntegers
            from doubledNumber in DoubleNumbers(extract)
            select doubledNumber);
 }