摘要:
int[] numbers = new int[] { 1, 2, 3, 4, 5 }; int product = numbers.Aggregate((total, next) => total * next); Console.WriteLine(product); numbers(資料來源)有5個項目,分別為1, 2, 3, 4, 5 Aggregate 方法會讓他... 阅读全文
posted @ 2008-10-26 22:26
srymbud
阅读(974)
评论(0)
推荐(0)
浙公网安备 33010602011771号